table of contents
other versions
ATOMIC_DEC_AND_TEST(9) | Driver Basics | ATOMIC_DEC_AND_TEST(9) |
NAME¶
atomic_dec_and_test - decrement and testSYNOPSIS¶
bool
atomic_dec_and_test(atomic_t * v);
ARGUMENTS¶
vpointer of type atomic_t
DESCRIPTION¶
Atomically decrements v by 1 and returns true if the result is 0, or false for all other cases.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |