ck_bitmap_size3
Returns necessary number of bytes for bitmap
Usage
#include <ck_bitmap.h>
unsigned int
ck_bitmap_size(unsigned int n_bits);
Library
Concurrency Kit (libck, -lck)
Overview
The 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 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_init(3).
Return values
This function returns a non-zero value.
Releases
Unchanged in 5 releases since Debian 8 (Jessie).