atomic64_inc_and_test(9)

atomic64_inc_and_test9

Increment and test

Usage

int atomic64_inc_and_test(atomic64_t * ptr);

Arguments

ptr

pointer to type atomic64_t

Overview

Atomically increments ptr by 1 and returns true if the result is zero, or false for all other cases.

From linux-manual-2.6.32 2.6.32-48squeeze6 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.