ck_bitmap_test(3)

ck_bitmap_test3

Determine if the bit at the specified index is set

Usage

#include <ck_bitmap.h>

bool

ck_bitmap_test(ck_bitmap_t *bitmap, unsigned int n);

Library

Concurrency Kit (libck, -lck)

Overview

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.

Releases

Unchanged in 5 releases since Debian 8 (Jessie).

  1. 8–13

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