LIBRARY
Concurrency Kit (libck, -lck)SYNOPSIS
In ck_hs.h Ft bool Fn ck_hs_set ck_hs_t *hs unsigned long hash const void *key void **previousDESCRIPTION
The Fn ck_hs_set 3 function will store the key specified by the Fa key argument in the hash set pointed to by the Fa hs argument. The key specified by Fa key is expected to have the hash value specified by the Fa hash argument (which was previously generated using the CK_HS_HASH3 macro).If the call to Fn ck_hs_set 3 was successful then the key specified by Fa key was successfully stored in the hash set pointed to by Fa hs . If the key already exists in the hash set, then it is replaced by Fa key and the previous value is stored into the void pointer pointed to by the Fa previous argument. If previous is set to NULL then Fa key was not a replacement for an existing entry in the hash set.