apm_error(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, this is apm_error(9) from the Kernel API Manual πŸ’– and it's literally here to help you display an APM error. No cap.

apm_error β€” display an APM error ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

void apm_error (char *str , int err );

πŸŽ€ ARGUMENTS πŸŽ€

  • str β€” information string. It's the little info note that gives context, bestie 🧚
  • err β€” APM BIOS return code. The code the APM BIOS hands back, fr fr πŸ’…

πŸ’… DESCRIPTION πŸ’…

okay so the vibe is: apm_error writes a meaningful log entry to the kernel log when an APM error happens. ✨ It's giving "bestie, the kernel needs to know" energy, and it's honestly iconic. Also important: it also handles (negative) kernel errors β€” don't sleep on that 🫢

🌈 SEE ALSO 🌈

Kernel file ./arch/x86/kernel/apm_32.c plus the whole squad of related calls, iykyk:

bye bestie 🫢 this one came from ./arch/x86/kernel, and the date on the vibe check is October 2026 πŸ’–βœ¨

πŸ“¦ where this page comes from