Query: atomic_add_negative
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATOMIC_ADD_NEGATIVE(9) Driver Basics ATOMIC_ADD_NEGATIVE(9)NAMEatomic_add_negative - add and test if negativeSYNOPSISint atomic_add_negative(int i, atomic_t * v);ARGUMENTSi integer value to add v pointer of type atomic_tDESCRIPTIONAtomically adds i to v and returns true if the result is negative, or false when result is greater than or equal to zero.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATOMIC_ADD_NEGATIVE(9)