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:

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