ck_ht_count(3) return count of key-value pairs in hash table

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_ht.h Ft uint64_t Fn ck_ht_count ck_ht_t *ht

DESCRIPTION

The Fn ck_ht_count function will return the number of entries in the hash table pointed to be the Fa ht argument. The function may only be called without the presence of concurrent write operations.

ERRORS

Behavior is undefined if Fa ht has not been initialized.