CK_HT_ENTRY_EMPTY(3)
π ck_ht_entry_empty β the manual page, bestie edition π
okay so you're here because you're poking at ck_ht_entry_empty from the Concurrency Kit, aka libck, which you link with -lck. and honestly? iconic behavior. let's get into it. π¦
β¨ NAME β¨
ck_ht_entry_empty β determine whether entry contains a key-value pair
like, is this thing empty or not. that's the whole job. that's the assignment. π
π LIBRARY π
Concurrency Kit (libck, -lck)
πΈ SYNOPSIS πΈ
#include <ck_ht.h>
bool
ck_ht_entry_empty(ck_ht_entry_t *entry);
π DESCRIPTION π
so here's the vibe. ck_ht_entry_empty() returns false if entry points to a valid key-value pair. if entry does not point to a valid key-value pair, it returns true. simple as that, no cap. β¨
and there's a lil prerequisite, bestie, so listen up: it's 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. don't come in cold, okay? π
π ERRORS π
Behavior is undefined if entry has not been initialized.
fr fr, undefined is undefined. not "probably fine", not "eh it'll work". undefined. initialize your entry first, bestie, that's the whole plot. π«Ά
π SEE ALSO π
the whole friend group, in order:
ck_ht_stat(3)ck_ht_init(3)ck_ht_destroy(3)ck_ht_hash(3)ck_ht_hash_direct(3)ck_ht_set_spmc(3)ck_ht_put_spmc(3)ck_ht_gc(3)ck_ht_get_spmc(3)ck_ht_grow_spmc(3)ck_ht_remove_spmc(3)ck_ht_count(3)ck_ht_reset_spmc(3)ck_ht_reset_size_spmc(3)ck_ht_entry_key_set(3)ck_ht_entry_key_set_direct(3)ck_ht_entry_key(3)ck_ht_entry_key_length(3)ck_ht_entry_value(3)ck_ht_entry_set(3)ck_ht_entry_set_direct(3)ck_ht_entry_key_direct(3)ck_ht_entry_value_direct(3)ck_ht_iterator_init(3)ck_ht_next(3)
Additional information available at http://concurrencykit.org/
and that's the page!! this one's from March 29, 2012, brought to you by the Concurrency Kit crew, filed under CK_HT_ENTRY_EMPTY(3) β go check whether your entries are empty, bestie, and stay initialized out there ππ§
π¦ where this page comes from
- alpine 3.24: ck-doc 0.7.2-r1 Β· BSD-2-Clause AND Apache-2.0
- debian bookworm: libck-dev 0.7.1-10 Β· BSD-2-Clause
- debian trixie: libck-dev 0.7.2-6 Β· BSD-2-Clause
- epel 10: ck-devel 0.7.2-1.el10_1 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- epel 9: ck-devel 0.7.0-10.el9 Β· BSD
- fedora 43: ck-devel 0.7.2-2.fc43 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- fedora 43: ck-devel 0.7.2-2.fc43 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- fedora 44: ck-devel 0.7.2-4.fc44 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- fedora 44: ck-devel 0.7.2-4.fc44 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- nixos 26.05: ck 0.7.2
- nixpkgs unstable: ck 0.7.2
- opensuse-leap 16.0: ck-devel 0.7.2-bp160.1.9 Β· Apache-2.0 AND BSD-2-Clause
- opensuse-leap 16.0: ck-devel 0.7.2-bp160.1.9 Β· Apache-2.0 AND BSD-2-Clause
- opensuse-leap 16.0: ck-devel 0.7.2-bp160.1.9 Β· Apache-2.0 AND BSD-2-Clause
- ubuntu jammy: libck-dev 0.7.1-6ubuntu2 Β· BSD-2-Clause
- ubuntu noble: libck-dev 0.7.1-13build1 Β· BSD-2-Clause
- ubuntu questing: libck-dev 0.7.2-5ubuntu1
- ubuntu resolute: libck-dev 0.7.2-5ubuntu2 Β· BSD-2-Clause
- ubuntu stonking: libck-dev 0.7.2-11 Β· BSD-2-Clause
- Copyright 2012-2013 Samy Al Bahra
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms