CK_BITMAP_TEST(3)
π NAME π
ck_bitmap_test β ok so bestie, this one tells you if the bit at the index you picked is set or not β¨
π LIBRARY π
Concurrency Kit β that's libck, and you link it with -lck π
π¦ SYNOPSIS π¦
#include <ck_bitmap.h>
bool
ck_bitmap_test(ck_bitmap_t *bitmap, unsigned int n);
πΈ DESCRIPTION πΈ
So like, ck_bitmap_test() literally checks whether the bit sitting at the offset you gave it in the argument n is set to 1. That's it. That's the whole vibe check. π
β¨ RETURN VALUES β¨
- It hands you back
truewhen the bit at that offset is set to1π«Ά - Otherwise?
false. no cap. π
π SEE ALSO π
ck_bitmap_base(3)ck_bitmap_size(3)ck_bitmap_init(3)ck_bitmap_set_mpmc(3)ck_bitmap_reset_mpmc(3)ck_bitmap_clear(3)ck_bitmap_bits(3)ck_bitmap_buffer(3)
More lore is waiting for you at http://concurrencykit.org/ π
and that's the whole page, bestie π this one's dated April 22, 2012 and it lives under the name CK_BITMAP_TEST(3) β iconic, honestly, go off β¨ππ¦
π¦ 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