1CK_BITMAP_BASE(3) BSD Library Functions Manual CK_BITMAP_BASE(3)
2
4 ck_bitmap_base — determine the size of a bit array in bytes
5
7 Concurrency Kit (libck, -lck)
8
10 #include <ck_bitmap.h>
11
12 unsigned int
13 ck_bitmap_base(unsigned int n_bits);
14
16 The ck_bitmap_base() function returns the number of bytes that would be
17 used to store the number of bits specified by n_bits.
18
20 This function returns a non-zero value that is guaranteed to be a multi‐
21 ple of sizeof(CK_BITMAP_WORD).
22
24 ck_bitmap_size(3), ck_bitmap_init(3), ck_bitmap_set(3),
25 ck_bitmap_reset(3), ck_bitmap_test(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