DECLARE_COMPLETION(9)
π NAME π
okay so this is the DECLARE_COMPLETION(9) page from the Kernel API Manual, and it's literally here to tell you about DECLARE_COMPLETION β the macro that declares and initializes a completion structure. slay π
β¨ SYNOPSIS β¨
DECLARE_COMPLETION (work );
π ARGUMENTS π
workβ the identifier for the completion structure. that's her name, bestie π«Ά
π¦ DESCRIPTION π¦
This macro declares and initializes a completion structure. the way it does both in one go? iconic. π₯
It's generally used for static declarations. so like, static vibes only.
bestie, listen: for automatic variables you should use the _ONSTACK variant. no cap, that's the move. π
π SEE ALSO π
- Kernel file
./include/linux/completion.h DECLARE_COMPLETION_ONSTACK(9)init_completion(9)reinit_completion(9)
mwah π this little page lives in ./include/linux, it's dated October 2026, and it's serving DECLARE_COMPLETION(9) realness from the Kernel API Manual. 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