logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

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

Library

       Concurrency Kit (libck, -lck)

Name

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

Return Values

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

See Also

ck_bitmap_base(3),   ck_bitmap_size(3),   ck_bitmap_init(3),   ck_bitmap_reset(3),    ck_bitmap_clear(3),
       ck_bitmap_set(3), ck_bitmap_test(3), ck_bitmap_bits(3), ck_bitmap_buffer(3)

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

                                                 August 22, 2014                                CK_BITMAP_BTS(3)

Synopsis

#include<ck_bitmap.h>boolck_bitmap_bts(ck_bitmap_t*bitmap, unsignedintn);

See Also