[#BloombergLP-bsls-AtomicOperations-decrementIntNvAcqRel]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AtomicOperations.adoc[AtomicOperations]::decrementIntNvAcqRel
:relfileprefix: ../../../
:mrdocs:

Atomically decrement the specified `atomicInt` by 1 and return the resulting value, providing the acquire&sol;release memory ordering guarantee&period;

== Synopsis

Declared in `&lt;bsls&lowbar;atomicoperations&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
decrementIntNvAcqRel(xref:BloombergLP/bsls/Atomic_TypeTraits-0b/Int.adoc[AtomicTypes::Int]* atomicInt);
----

== Return Value

value of `atomicInt` after the operation

== Parameters

[cols="1,4"]
|===
| Name| Description
| *atomicInt*
| atomic integer to modify
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
