chp_info_get_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to chp_info_get_status(9) from the Kernel API Manual ✨ the whole assignment is literally this: retrieve configure status of a channel-path. that's the vibe, that's the function, periodt πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

int chp_info_get_status (struct chp_id chpid );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • chpid β€” channel-path ID πŸ’–

🌸 DESCRIPTION 🌸

okay so on success, this one returns a number and each number has main character energy:

  • 0 β€” standby
  • 1 β€” configured
  • 2 β€” reserved
  • 3 β€” not recognized

and if it hits an error? it returns a negative error code, fr fr 😭 no cap.

🌈 SEE ALSO 🌈


πŸ’– mwah, bestie β€” signed off from ./drivers/s390/cio, dated October 2026. slay 🫢✨

πŸ“¦ where this page comes from