pm_suspend(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to pm_suspend(9) from the Kernel API Manual β€” it's the externally visible function for suspending the system, and yes, we're getting into it πŸ’…

✨ NAME ✨

pm_suspend β€” externally visible function for suspending the system. periodt.

🌸 SYNOPSIS 🌸

int pm_suspend (suspend_state_t state );

πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” the system sleep state to enter. that's the whole assignment, bestie.

πŸ’« DESCRIPTION πŸ’«

okay so here's the tea: pm_suspend checks if the value of state represents one of the supported states, then it executes enter_state and updates system suspend statistics. slay ✨

πŸ”₯ SEE ALSO πŸ”₯


signed off from ./kernel/power, dated October 2026 β€” this was pm_suspend(9), mwah πŸ’–πŸ«Ά

πŸ“¦ where this page comes from