ck_ht_reset_spmc(3) remove all entries from a hash table

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_ht.h Ft bool Fn ck_ht_reset_spmc ck_ht_t *ht

DESCRIPTION

The Fn ck_ht_reset_spmc function will remove all key-value pairs stored in the hash table pointed to by the Fa ht argument.

RETURN VALUES

If successful, Fn ck_ht_reset_spmc will return true and will otherwise return false. This function will only fail if a replacement hash table could not be allocated internally.