futex_dec(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

futex_dec(9) πŸ’…

okay so this little icon lives in the Kernel API Manual, and she is literally all about the atomic decrement of the futex value. no cap, she's tiny but useful 🫢


✨ NAME ✨

futex_dec β€” atomic decrement of the futex value


πŸ¦‹ SYNOPSIS πŸ¦‹

the whole signature is literally this, bestie:

u_int32_t futex_dec (futex_t *uaddr );

πŸŽ€ ARGUMENTS πŸŽ€

  • uaddr β€” the address of the futex to be modified πŸ’…

πŸ’– DESCRIPTION πŸ’–

the description is short and iconic: it returns the new futex value. that's the whole tea β˜•. she's not doing the most, she's just handing you the new futex value back, periodt ✨


🌈 SEE ALSO 🌈


source/version: ./tools/testing/selftests/fute..., date: October 2026, page: futex_dec(9) β€” byeee bestie πŸŽ€

πŸ“¦ where this page comes from