atomic_dec(9)
π NAME β atomic_dec(9) π
okay bestie, meet atomic_dec β the Atomic decrement icon. β¨ That's literally her whole thing: atomic decrement, no cap. π
π¦ SYNOPSIS π¦
int atomic_dec (atomic_t *addr );
πΈ ARGUMENTS πΈ
addrβ the address of the variable you're decrementing, bestie. That's the target. π―
π DESCRIPTION π
It returns the new value of addr-val. That's the documented behavior, periodt. π
π SEE ALSO π
- Kernel file:
./tools/testing/selftests/futex/include/atomic.hβ go read it, iykyk π§ atomic_cmpxchg(9)β another atomic bestie in the group chat π¬atomic_inc(9)β the incremint one, lowkey iconic βatomic_set(9)β the setter, also invited to the function party π
okay that's the whole page, bestie! π«Ά This lil manual is from ./tools/testing/selftests/fute..., dated October 2026, and it's filed under atomic_dec(9). mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms