ck_bitmap_test - Man Page

determine 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 ck_bitmap_test() determines if the bit at the offset specified by the argument n is set to 1.

Return Values

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

See Also

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

Referenced By

ck_bitmap_base(3), ck_bitmap_bits(3), ck_bitmap_bts(3), ck_bitmap_buffer(3), ck_bitmap_clear(3), ck_bitmap_init(3), ck_bitmap_reset(3), ck_bitmap_set(3), ck_bitmap_size(3), ck_bitmap_union(3).

April 22, 2012