atomic64_dec_and_test(9)

atomic64_dec_and_test9

Decrement and test

Usage

int atomic64_dec_and_test(atomic64_t * ptr);

Arguments

ptr

pointer to type atomic64_t

Overview

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