table of contents
ATOMIC_ADD_RETURN(9) | Driver Basics | ATOMIC_ADD_RETURN(9) |
NAME¶
atomic_add_return - add integer and return
SYNOPSIS¶
int atomic_add_return(int i, atomic_t * v);
ARGUMENTS¶
i
integer value to add
v
pointer of type atomic_t
DESCRIPTION¶
Atomically adds i to v and returns i + v
COPYRIGHT¶
May 2024 | Kernel Hackers Manual 2.6. |