ck_bitmap_bts(3)

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).

  1. 9–13

From libck-dev 0.7.2-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.