---
name: "atomic_inc_and_test"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/atomic_inc_and_test"
---

# atomic\_inc\_and\_test(9)

increment and test

## 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.

## COPYRIGHT
