Scroll to navigation

ATOMIC_INC_SHORT(9) Driver Basics ATOMIC_INC_SHORT(9)

NAME

atomic_inc_short - increment of a short integer

SYNOPSIS

short int atomic_inc_short(short int * v);

ARGUMENTS

v

pointer to type int

DESCRIPTION

Atomically adds 1 to v Returns the new value of u

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.