ck_bitmap_bts3
Set the bit at the specified index and fetch its original value
Usage
#include <ck_bitmap.h>
bool
ck_bitmap_bts(ck_bitmap_t *bitmap, unsigned int n);
Library
Concurrency Kit (libck, -lck)
Overview
ck_bitmap_bts() sets the bit at the offset specified by the argument n to 1 and fetches its original value.
Return values
This function returns the original value of the bit at offset n in bitmap.
Releases
Unchanged in 4 releases since Debian 9 (Stretch).