suspend_devices_and_enter(9)
π¦ NAME π¦
okay so bestie, this is suspend_devices_and_enter(9) from the Kernel API Manual, and it's literally the function that suspends devices and enters a system sleep state. no cap, that's the whole vibe: devices get suspended, system sleep state gets entered. π
β¨
πΈ SYNOPSIS πΈ
int suspend_devices_and_enter (suspend_state_t state );
π ARGUMENTS π
stateβ the system sleep state to enter. that's it, that's the argument, and it's lowkey important because it tells the function which sleep state you're sliding into. ππ
π₯ SEE ALSO π₯
Kernel file: ./kernel/power/suspend.c β and the whole SEE ALSO squad is:
pm_suspend_default_s2idle(9)suspend_set_ops(9)suspend_valid_only_mem(9)suspend_prepare(9)suspend_enter(9)suspend_finish(9)enter_state(9)pm_suspend(9)
okay bye bestie π«Ά β this iconic little page comes from the source/version path ./kernel/power, dated October 2026, and it's the manual page for suspend_devices_and_enter(9). 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