ck_pr_and_ptr(3) atomic bitwise-and operations

Other Alias

ck_pr_and_char, ck_pr_and_uint, ck_pr_and_int, ck_pr_and_64, ck_pr_and_32, ck_pr_and_16, ck_pr_and_8


Concurrency Kit (libck, -lck)


In ck_pr.h Ft void Fn ck_pr_and_ptr void *target uintptr_t delta Ft void Fn ck_pr_and_char char *target char delta Ft void Fn ck_pr_and_uint unsigned int *target unsigned int delta Ft void Fn ck_pr_and_int int *target int delta Ft void Fn ck_pr_and_64 uint64_t *target uint64_t delta Ft void Fn ck_pr_and_32 uint32_t *target uint32_t delta Ft void Fn ck_pr_and_16 uint16_t *target uint16_t delta Ft void Fn ck_pr_and_8 uint8_t *target uint8_t delta


The Fn ck_pr_and 3 family of functions atomically compute and store the result of a bitwise-and of the value pointed to by Fa target and Fa delta into the value pointed to by Fa target .


This family of functions does not have a return value.