ATOMIC_DEC(9) Driver Basics ATOMIC_DEC(9)

NAME atomic_dec - decrement atomic variable

SYNOPSIS void atomic_dec(atomic_t * v);

ARGUMENTS v pointer of type atomic_t

DESCRIPTION Atomically decrements v by 1.

COPYRIGHT Kernel Hackers Manual 2.6. June 2012 ATOMIC_DEC(9)