---
name: "atomic64_set"
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_set"
---

# atomic64\_set(9)

set atomic64 variable

## NAME

atomic64\_set - set atomic64 variable

## SYNOPSIS

**void atomic64\_set(atomic64\_t \*** *ptr***, u64** *new\_val***);**

## ARGUMENTS

*ptr*

pointer to type atomic64\_t

*new\_val*

value to assign

## DESCRIPTION

Atomically sets the value of *ptr* to *new\_val*.

## COPYRIGHT
