---
name: "atomic64_inc_and_test"
section: "9"
platform: "linux"
package: "linux-manual-2.6.32"
version: "2.6.32-48squeeze6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/atomic64_inc_and_test"
---

# atomic64\_inc\_and\_test(9)

increment and test

## NAME

atomic64\_inc\_and\_test - increment and test

## SYNOPSIS

**int atomic64\_inc\_and\_test(atomic64\_t \*** *ptr***);**

## ARGUMENTS

*ptr*

pointer to type atomic64\_t

## DESCRIPTION

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

## COPYRIGHT
