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 true when the bit at that offset is set to 1 🫢
  • Otherwise? false. no cap. πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

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