ck_rhs_get (3) - Linux Manuals
ck_rhs_get: load a key from a hash set
NAMEck_rhs_get - load a key from a hash set
LIBRARYConcurrency Kit (libck, -lck)
SYNOPSISIn ck_rhs.h Ft void * Fn ck_rhs_get ck_rhs_t *hs unsigned long hash const void *key
DESCRIPTIONThe Fn ck_rhs_get 3 function will return a pointer to a key in the hash set Fa hs that is of equivalent value to the object pointed to by Fa key . The key specified by Fa key is expected to have the hash value specified by the Fa hash argument (which is to have been previously generated using the CK_RHS_HASH3 macro).
RETURN VALUESIf the provided key is a member of Fa hs then a pointer to the key as stored in Fa hs is returned. If the key was not found in Fa hs then a value of NULL is returned.
ERRORSBehavior is undefined if Fa entry or Fa hs are uninitialized.
SEE ALSOck_rhs_init3, ck_rhs_move3, ck_rhs_destroy3, CK_RHS_HASH3, ck_rhs_iterator_init3, ck_rhs_next3, ck_rhs_put3, ck_rhs_put_unique3, ck_rhs_set3, ck_rhs_fas3, ck_rhs_remove3, ck_rhs_grow3, ck_rhs_rebuild3, ck_rhs_gc3, ck_rhs_count3, ck_rhs_reset3, ck_rhs_reset_size3, ck_rhs_stat3
Additional information available at http://concurrencykit.org/