ck_hs_get (3) - Linux Manuals
ck_hs_get: load a key from a hash set
NAME
ck_hs_get - load a key from a hash setLIBRARY
Concurrency Kit (libck, -lck)SYNOPSIS
In ck_hs.h Ft void * Fn ck_hs_get ck_hs_t *hs unsigned long hash const void *keyDESCRIPTION
The Fn ck_hs_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_HS_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_hs_init3, ck_hs_move3, ck_hs_destroy3, CK_HS_HASH3, ck_hs_iterator_init3, ck_hs_next3, ck_hs_put3, ck_hs_put_unique3, ck_hs_set3, ck_hs_fas3, ck_hs_remove3, ck_hs_grow3, ck_hs_rebuild3, ck_hs_gc3, ck_hs_count3, ck_hs_reset3, ck_hs_reset_size3, ck_hs_stat3Additional information available at http://concurrencykit.org/