ck_bitmap_size (3) - Linux Manuals
ck_bitmap_size: returns necessary number of bytes for bitmap
NAME
ck_bitmap_size - returns necessary number of bytes for bitmapLIBRARY
Concurrency Kit (libck, -lck)SYNOPSIS
In ck_bitmap.h Ft unsigned int Fn ck_bitmap_size unsigned int n_bitsDESCRIPTION
The Fn ck_bitmap_size function returns the number of bytes that are necessary to allocate for a bitmap that will contain the number of bits specified by Fa n_bits .This function is used to determine how many bytes to allocate for dynamically created bitmap objects. The allocated object must still be initialized using ck_bitmap_init3.
RETURN VALUES
This function returns a non-zero value.SEE ALSO
ck_bitmap_base3, ck_bitmap_init3, ck_bitmap_set_mpmc3, ck_bitmap_reset_mpmc3, ck_bitmap_test3, ck_bitmap_clear3, ck_bitmap_bits3, ck_bitmap_buffer3Additional information available at http://concurrencykit.org/