wakeup_source_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– wakeup_source_create πŸ’–

okay so real talk, bestie β€” we're deep in the Kernel API Manual today, like deep deep, in the wakeup_source cinematic universe, and this right here is the origin story. no cap. ✨


🌸 NAME 🌸

wakeup_source_create β€” literally just, like, create a struct wakeup_source object. that's the whole vibe. it's giving "birth of a main character." πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

struct wakeup_source * wakeup_source_create (const char *name );

πŸŽ€ ARGUMENTS πŸŽ€

  • name β€” the name of the new wakeup source. that's it. that's the whole argument. you hand it a name and it hands you a whole struct. iconic behavior honestly 🫢

⭐ SEE ALSO ⭐

okay so this is the part where i need you to stay with me, because this list is long and it's lowkey a whole friend group. but every single one of them matters, so here we go, no skipping, i promised. πŸ’…

the kernel file where all this lives is ./drivers/base/power/wakeup.c, and from there we've got:

like i said. a lot of friends. but they're all in the group chat and they all show up for each other. 🌈


ngl bestie, this page is short but it's the doorway to the whole power-management saga. read the SEE ALSO. i'm not asking. 🧚

and that's the tea! πŸ“ this lil gem lives under ./drivers/base/power, from the October 2026 drop of the Kernel API Manual β€” mwah, go forth and create your structs, you absolute icon πŸ’œβœ¨

πŸ“¦ where this page comes from