apm_console_blank(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… apm_console_blank(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual, and it's literally about telling your screen to go night-night ✨ (apm_console_blank(9), if you're keeping track of the section number, which β€” icon behaviour β€” we are).


✨ NAME ✨

apm_console_blank β€” blank the display 🫢


🌸 SYNOPSIS 🌸

int apm_console_blank (int blank );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • blank β€” on/off, bestie. That's the whole vibe check πŸ’…

πŸ’– DESCRIPTION πŸ’–

So the way this works: it attempts to blank the console 😭 β€” and no, it doesn't just go feral and do it all at once. First it lowkey tries blanking just video device zero πŸ’«, and if that fails (sigh β€” some BIOSes literally don't support it, not naming names πŸ™ˆ) then it goes full main character and blanks all video devices πŸ”₯.

Typically the BIOS handles laptop backlight and monitor powerdown for us β€” so like, it's giving teamwork, it's giving delegation, we love that for us πŸ‘‘.


🌈 SEE ALSO 🌈

Kernel file ./arch/x86/kernel/apm_32.c β€” the source of truth, the mothership 🧚

And the whole friend group, fr fr:


okay that's the whole page, and yes she ate πŸ’… β€” this one lives under ./arch/x86/kernel, dated October 2026, and we're all obsessed. bye bestie, go blank that display responsibly πŸ”₯β­πŸ’œ

πŸ“¦ where this page comes from