CK_BITMAP_SET(3)
π CK_BITMAP_SET(3) π
okay so bestie, we're in the ck_bitmap_set page of the Concurrency Kit manual, section 3 (that's the library-functions section, iykyk). pull up a chair, this one is short and sweet and honestly a lil icon π
β¨ NAME β¨
ck_bitmap_set β set the bit at the specified index π¦
π LIBRARY π
Concurrency Kit (that's libck, link it with -lck) π
πΈ SYNOPSIS πΈ
#include <ck_bitmap.h>
void
ck_bitmap_set(ck_bitmap_t *bitmap, unsigned int n);
π« DESCRIPTION π«
so here's the whole vibe: ck_bitmap_set() takes the bit at the offset you give it in the argument n and sets it to 1. that's it. that's the function. one bit, zero to one, main character energy β
like, it's not returning anything, it's not checking anything, it's just flipping that one specific bit on and walking away. iconic behaviour fr fr π
π«Ά RETURN VALUES π«Ά
this function has no return value. nope. nothing. it's void, bestie, it gives you nothing back and expects nothing in return. we respect the boundaries π
π SEE ALSO π
go read her sisters, they're all slaying in their own ways:
ck_bitmap_base(3)ck_bitmap_size(3)ck_bitmap_init(3)ck_bitmap_reset(3)ck_bitmap_clear(3)ck_bitmap_test(3)ck_bitmap_bits(3)ck_bitmap_buffer(3)
Additional information available at http://concurrencykit.org/ π
no cap, that URL is the whole lore hub, go click it π§
and that's the page!! this one came from Concurrency Kit, dated April 22, 2012, and it lives under the name CK_BITMAP_SET(3). ty for coming to my ted talk, go set some bits, ily πβ¨ππΈπ¦
π¦ 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