CK_BITMAP_RESET(3)

✨ CK_BITMAP_RESET(3) ✨

okay so bestie, welcome to the CK_BITMAP_RESET(3) page πŸ’– this is a lil function from the Concurrency Kit, and no cap, it's about as simple as it gets. let's get into it 🫢


🌸 NAME 🌸

ck_bitmap_reset β€” resets the bit at the specified index πŸ’…

like. that's it. that's the whole job. she's a one-task queen and she ate πŸ‘‘


πŸŽ€ LIBRARY πŸŽ€

Concurrency Kit (libck, link with -lck) 🌈


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <ck_bitmap.h>

void
ck_bitmap_reset(ck_bitmap_t *bitmap, unsigned int n);

so you're passing in a ck_bitmap_t * called bitmap and an unsigned int called n, and she returns void β€” no receipts, no drama, no return value, she just does the thing 😌✨


πŸ’œ DESCRIPTION πŸ’œ

ck_bitmap_reset() resets the bit at the offset specified by the argument n to 0 πŸ”₯

that's the whole vibe. you point at a bit, she sets it to zero. zero thoughts, zero returns, just a bit going from one state to the other. main character behavior tbh πŸ’…


⭐ RETURN VALUES ⭐

this function has no return value πŸ’€ like she gives you nothing back. not a value, not a nod, not a text back. void is void, periodt πŸŽ€


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr β€” go say hi to her sisters 🫢

and if you want even more lore, additional information is available at http://concurrencykit.org/ 🌐✨


ok that's the page!! go reset some bits bestie, you're gonna do amazing πŸ₯°

signing off with the cutest lil timestamp: this one's dated April 22, 2012, and it's from the Concurrency Kit era of the docs β€” so like, vintage but still iconic. CK_BITMAP_RESET(3), out. πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from