ck_ht_reset_spmc(3)

ck_ht_reset_spmc3

Remove all entries from a hash table

Usage

#include <ck_ht.h>

bool

ck_ht_reset_spmc(ck_ht_t *ht);

Library

Concurrency Kit (libck, -lck)

Overview

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

Return values

If successful, 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.

Releases

Unchanged in 5 releases since Debian 8 (Jessie).

  1. 8–13

From libck-dev 0.7.2-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.