atomic_dec(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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