1CK_BITMAP_BTS(3)         BSD Library Functions Manual         CK_BITMAP_BTS(3)
2

NAME

4     ck_bitmap_bts — set the bit at the specified index and fetch its original
5     value
6

LIBRARY

8     Concurrency Kit (libck, -lck)
9

SYNOPSIS

11     #include <ck_bitmap.h>
12
13     bool
14     ck_bitmap_bts(ck_bitmap_t *bitmap, unsigned int n);
15

DESCRIPTION

17     ck_bitmap_bts() sets the bit at the offset specified by the argument n to
18     1 and fetches its original value.
19

RETURN VALUES

21     This function returns the original value of the bit at offset n in
22     bitmap.
23

SEE ALSO

25     ck_bitmap_base(3), ck_bitmap_size(3), ck_bitmap_init(3),
26     ck_bitmap_reset(3), ck_bitmap_clear(3), ck_bitmap_set(3),
27     ck_bitmap_test(3), ck_bitmap_bits(3), ck_bitmap_buffer(3)
28
29     Additional information available at http://concurrencykit.org/
30
31                                August 22, 2014
Impressum