ck_bitmap_base man page

ck_bitmap_base ā€” determine the size of a bit array in bytes

Library

Concurrency Kit (libck, -lck)

Synopsis

#include <ck_bitmap.h>

unsigned int
ck_bitmap_base(unsigned int n_bits);

Description

The ck_bitmap_base() function returns the number of bytes that would be used to store the number of bits specified by n_bits.

Return Values

This function returns a non-zero value that is guaranteed to be a multiple of sizeof(CK_BITMAP_WORD).

See Also

ck_bitmap_size(3), ck_bitmap_init(3), ck_bitmap_set(3), ck_bitmap_reset(3), ck_bitmap_test(3), ck_bitmap_clear(3), ck_bitmap_bits(3), ck_bitmap_buffer(3)

Additional information available at http://concurrencykit.org/

Referenced By

ck_bitmap_bits(3), ck_bitmap_bts(3), ck_bitmap_buffer(3), ck_bitmap_clear(3), ck_bitmap_init(3), ck_bitmap_iterator_init(3), ck_bitmap_next(3), ck_bitmap_reset(3), ck_bitmap_set(3), ck_bitmap_size(3), ck_bitmap_test(3), ck_bitmap_union(3).

April 22, 2012