ATOMIC_INC_AND_TEST

Section: (9)
Updated: 06 August 2003
Index Return to Main Contents

 

NAME

atomic_inc_and_test - increment and test  

SYNOPSIS

int atomic_inc_and_test (atomic_t * v);  

ARGUMENTS

v
pointer of type atomic_t
 

DESCRIPTION

Atomically increments v by 1 and returns true if the result is zero, or false for all other cases. Note that the guaranteed useful range of an atomic_t is only 24 bits.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 08:41:22 GMT, April 09, 2004