ck_rhs_get (3) Linux Manual Page
ck_rhs_get – load a key from a hash set
Library
Concurrency Kit (libck, -lck)Synopsis
In ck_rhs.h Ft void * Fn ck_rhs_get ck_rhs_t *hs unsigned long hash const void *keyDescription
The 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 Values
If 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.Errors
Behavior is undefined if Fa entry or Fa hs are uninitialized.See Also
ck_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_stat3Additional information available at http://concurrencykit.org/
