batadv_atomic_dec_not_zero(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

batadv_atomic_dec_not_zero(9) πŸ’…

okay so this one is from the Kernel API Manual, section 9 β€” tiny helper, very β€œdecrease unless the number is 0” energy. bestie, it’s honestly iconic in its simplicity. πŸŽ€


🌸 NAME 🌸

batadv_atomic_dec_not_zero β€” decrease unless the number is 0. no cap, that’s the whole vibe. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

batadv_atomic_dec_not_zero (v );

πŸ’– ARGUMENTS πŸ’–

  • v β€” pointer of type atomic_t. yes, that kind of pointer, bestie. 🫢

πŸ”₯ RETURN πŸ”₯

non-zero if v was not 0, and zero otherwise. that’s the tea. β˜•

πŸ‘‘ SEE ALSO πŸ‘‘

go peek at these too, iykyk πŸ’…:


mwah πŸ’‹ β€” source/version: ./net/batman-adv; date: October 2026; page: batadv_atomic_dec_not_zero(9).

πŸ“¦ where this page comes from