---
name: "atomic_add_return"
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_add_return"
---

# atomic\_add\_return(9)

add integer and return

## NAME

atomic\_add\_return - add integer and return

## SYNOPSIS

**int atomic\_add\_return(int** *i***, atomic\_t \*** *v***);**

## ARGUMENTS

*i*

integer value to add

*v*

pointer of type atomic\_t

## DESCRIPTION

Atomically adds *i* to *v* and returns *i* + *v*

## COPYRIGHT
