ck_bitmap_bts (3) - Linux Man Pages

ck_bitmap_bts: set the bit at the specified index and fetch its original value

NAME

ck_bitmap_bts - set the bit at the specified index and fetch its original value

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_bitmap.h Ft bool Fn ck_bitmap_bts ck_bitmap_t *bitmap unsigned int n

DESCRIPTION

Fn ck_bitmap_bts sets the bit at the offset specified by the argument Fa n to 1 and fetches its original value.

RETURN VALUES

This function returns the original value of the bit at offset Fa n in Fa bitmap .

SEE ALSO

ck_bitmap_base3, ck_bitmap_size3, ck_bitmap_init3, ck_bitmap_reset3, ck_bitmap_clear3, ck_bitmap_set3, ck_bitmap_test3, ck_bitmap_bits3, ck_bitmap_buffer3

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