1CK_BITMAP_TEST(3)        BSD Library Functions Manual        CK_BITMAP_TEST(3)
2

NAME

4     ck_bitmap_test — determine if the bit at the specified index is set
5

LIBRARY

7     Concurrency Kit (libck, -lck)
8

SYNOPSIS

10     #include <ck_bitmap.h>
11
12     bool
13     ck_bitmap_test(ck_bitmap_t *bitmap, unsigned int n);
14

DESCRIPTION

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

RETURN VALUES

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

SEE ALSO

24     ck_bitmap_base(3), ck_bitmap_size(3), ck_bitmap_init(3),
25     ck_bitmap_set_mpmc(3), ck_bitmap_reset_mpmc(3), ck_bitmap_clear(3),
26     ck_bitmap_bits(3), ck_bitmap_buffer(3)
27
28     Additional information available at http://concurrencykit.org/
29
30                                April 22, 2012
Impressum