Sponsor:

Your company here, and a link to your site. Click to find out more.

ck_bitmap_test - Man Page

determine if the bit at the specified index is set

Library

Concurrency Kit (libck, -lck)

Synopsis

#include <ck_bitmap.h>

bool
ck_bitmap_test(ck_bitmap_t *bitmap, unsigned int n);

Description

The ck_bitmap_test() determines if the bit at the offset specified by the argument n is set to 1.

Return Values

This function returns true if the bit at the specified offset is set to 1 and otherwise returns false.

See Also

ck_bitmap_base(3), ck_bitmap_size(3), ck_bitmap_init(3), ck_bitmap_set_mpmc(3), ck_bitmap_reset_mpmc(3), ck_bitmap_clear(3), ck_bitmap_bits(3), ck_bitmap_buffer(3)

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

Referenced By

ck_bitmap_base(3), ck_bitmap_bits(3), ck_bitmap_bts(3), ck_bitmap_buffer(3), ck_bitmap_clear(3), ck_bitmap_init(3), ck_bitmap_reset(3), ck_bitmap_set(3), ck_bitmap_size(3), ck_bitmap_union(3).

April 22, 2012