table of contents
other versions
- jessie 3.16.56-1+deb8u1
ATOMIC_SUB_AND_TEST(9) | Driver Basics | ATOMIC_SUB_AND_TEST(9) |
NAME¶
atomic_sub_and_test - subtract value from variable and test resultSYNOPSIS¶
int atomic_sub_and_test(int i,
atomic_t * v);
ARGUMENTS¶
iinteger value to subtract
v
pointer of type atomic_t
DESCRIPTION¶
Atomically subtracts i from v and returns true if the result is zero, or false for all other cases.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |