get_power_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ get_power_status(9) β€” the slot power-status bestie πŸ’…

okay so bestie, this is the Kernel API Manual entry for get_power_status β€” yes, it's exactly what it sounds like: it gets the power status of a slot. tiny function, main-character energy, no cap. 🫢✨

🌸 NAME 🌸

get_power_status β€” get power status of a slot

πŸŽ€ SYNOPSIS πŸŽ€

int get_power_status (struct hotplug_slot *hotplug_slot , u8 *value );

πŸ’… ARGUMENTS πŸ’…

  • hotplug_slot β€” the slot to get status. literally the slot we're checking on. πŸ‘€
  • value β€” pointer to store status. it's where the status gets stored, periodt. πŸ’Ύ

πŸ¦‹ SEE ALSO πŸ¦‹

go peek at those if you want the full kernel-hotplug friend group. iykyk. 🌈


signing off with source/version ./drivers/pci/hotplug and date October 2026 β€” periodt, bestie. πŸ’œπŸ§š

πŸ“¦ where this page comes from