local_add_return(9)
πΈ 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 typelocal_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 π¦
- Kernel file
./arch/x86/include/asm/local.hβ the home base for this whole situation π local_sub_and_test(9)πlocal_dec_and_test(9)πlocal_inc_and_test(9)π¦local_add_negative(9)πΈlocal_add_unless(9)β
mwah π this local_add_return(9) page lives in ./arch/x86/include/asm and was dated October 2026, periodt π
π¦ 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