ck_hs_reset3
Remove all keys from a hash set
Usage
#include <ck_hs.h>
bool
ck_hs_reset(ck_hs_t *hs);
Library
Concurrency Kit (libck, -lck)
Overview
The ck_hs_reset(3) function will remove all keys stored in the hash set pointed to by the hs argument.
Return values
If successful, ck_hs_reset(3) will return true and will otherwise return false on failure. This function will only fail if a replacement hash set could not be allocated internally.
Errors
Behavior is undefined if hs is uninitialized. Behavior is undefined if this function is called by a non-writer thread.
Releases
Unchanged in 5 releases since Debian 8 (Jessie).