ck_bitmap_base (3) - Linux Man Pages

ck_bitmap_base: determine the size of a bit array in bytes

NAME

ck_bitmap_base - determine the size of a bit array in bytes

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_bitmap.h Ft unsigned int Fn ck_bitmap_base unsigned int n_bits

DESCRIPTION

The Fn ck_bitmap_base function returns the number of bytes that would be used to store the number of bits specified by Fa 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_size3, ck_bitmap_init3, ck_bitmap_set3, ck_bitmap_reset3, ck_bitmap_test3, ck_bitmap_clear3, ck_bitmap_bits3, ck_bitmap_buffer3

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