ck_ht_entry_empty(3)

ck_ht_entry_empty3

Determine whether entry contains a key-value pair

Usage

#include <ck_ht.h>

bool

ck_ht_entry_empty(ck_ht_entry_t *entry);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_ht_entry_empty() function will return false if entry points to a valid key-value pair. If entry does not point to a valid key-value pair it returns true. It is expected that the object pointed to by entry was initialized by a preceding call to the ck_ht_entry_set family of functions, the ck_ht_get_spmc(3) function or the ck_ht_set_spmc(3) function.

Errors

Behavior is undefined if entry has not been initialized.

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.