ATOMIC_SUB_AND_TEST
Section: (9)
Updated: 14 August 2003
Index
Return to Main Contents
NAME
atomic_sub_and_test - subtract value from variable and test result
SYNOPSIS
int atomic_sub_and_test (int i, atomic_t * v);
ARGUMENTS
- i
-
integer 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. Note that the guaranteed
useful range of an atomic_t is only 24 bits.
ABOUT THIS DOCUMENT
This documentation was generated with kernel version 2.6.0.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- ABOUT THIS DOCUMENT
-
This document was created by
man2html,
using the manual pages.
Time: 23:19:19 GMT, August 13, 2003