apm_error(9)
πΈ 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:
__apm_bios_call(9)apm_bios_call(9)__apm_bios_call_simple(9)apm_bios_call_simple(9)apm_driver_version(9)apm_get_event(9)set_power_state(9)set_system_power_state(9)apm_do_idle(9)apm_do_busy(9)apm_cpu_idle(9)apm_power_off(9)apm_enable_power_management(9)apm_get_power_status(9)apm_engage_power_management(9)apm_console_blank(9)
bye bestie π«Ά this one came from ./arch/x86/kernel, and the date on the vibe check is October 2026 πβ¨
π¦ 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