Scroll to navigation

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

May 2024 Kernel Hackers Manual 2.6.