CK_BITMAP_TEST(3) Library Functions Manual CK_BITMAP_TEST(3)

ck_bitmap_testdetermine if the bit at the specified index is set

Concurrency Kit (libck, -lck)

#include <ck_bitmap.h>

ck_bitmap_test(ck_bitmap_t *bitmap, unsigned int n);

The () determines if the bit at the offset specified by the argument n is set to 1.

This function returns true if the bit at the specified offset is set to 1 and otherwise returns false.

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)

Additional information available at

April 22, 2012