local_add_return(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

hey bestie, welcome to the local_add_return(9) page from the Kernel API Manual πŸ’– this one is literally local_add_return β€” add and return, that's the whole vibe.


✨ SYNOPSIS ✨

long local_add_return (long i , local_t *l );

πŸŽ€ ARGUMENTS πŸŽ€

  • i β€” integer value to add, okay? the number going in 🫢
  • l β€” pointer to type local_t, yup, that's the target πŸ’…

πŸ’… DESCRIPTION πŸ’…

Atomically adds i to l and returns i + l. no cap, that's the move ✨ atomic means it does the add as one unit, and then it hands you back the sum like "here bestie, i + l" πŸŽ€


πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ this local_add_return(9) page lives in ./arch/x86/include/asm and was dated October 2026, periodt πŸ‘‘

πŸ“¦ where this page comes from