ATOMIC_DEC_AND_TEST

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

 

NAME

atomic_dec_and_test - decrement and test  

SYNOPSIS

int atomic_dec_and_test (atomic_t * v);  

ARGUMENTS

v
pointer of type atomic_t
 

DESCRIPTION

Atomically decrements v by 1 and returns true if the result is 0, 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