atomic_add_unless(9) suse man page | unix.com

Man Page: atomic_add_unless

Operating Environment: suse

Section: 9

ATOMIC_ADD_UNLESS(9)						   Driver Basics					      ATOMIC_ADD_UNLESS(9)

NAME
atomic_add_unless - add unless the number is already a given value
SYNOPSIS
int atomic_add_unless(atomic_t * v, int a, int u);
ARGUMENTS
v pointer of type atomic_t a the amount to add to v... u ...unless v is equal to u.
DESCRIPTION
Atomically adds a to v, so long as v was not already u. Returns non-zero if v was not u, and zero otherwise.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ATOMIC_ADD_UNLESS(9)
Related Man Pages
kmem_cache_create(9) - suse
task_current_syscall(9) - suse
struct_sk_buff(9) - centos
struct_irq_desc(9) - suse
struct_sk_buff(9) - suse
Similar Topics in the Unix Linux Community
Update kernel Linux without reboot?!
SOCKS proxy & PAM configuration exposure
Tar Command
A (ksh) Library For and From UNIX.com
The Future of the PM (Private Message) System at UNIX.com