DOKK / manpages / debian 12 / libck-dev / ck_bitmap_buffer.3.en
CK_BITMAP_BUFFER(3) Library Functions Manual CK_BITMAP_BUFFER(3)

ck_bitmap_bufferreturns pointer to bit array

Concurrency Kit (libck, -lck)

#include <ck_bitmap.h>

void *
ck_bitmap_buffer(ck_bitmap_t *bitmap);

The () functions returns a pointer to the actual bit array. For ck_bitmap pointers, the bit array is of type CK_BITMAP_WORD[] and consists of ck_bitmap_base(bitmap) / sizeof(CK_BITMAP_WORD) elements. On currently supported 64-bit platforms CK_BITMAP_WORD is uint64_t. On currently supported 32-bit platforms CK_BITMAP_WORD is uint32_t.

This function returns a non-NULL value.

ck_bitmap_base(3), 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)

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

April 22, 2012