apple_smc_get_key_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

apple_smc_get_key_info β€” get key information from SMC. And yes bestie, this is the apple_smc_get_key_info(9) page from the Kernel API Manual, so you are literally in exactly the right place 🫢✨

✨ SYNOPSIS ✨

int apple_smc_get_key_info (struct apple_smc *smc , smc_key key , struct
       apple_smc_key_info *info );

πŸŽ€ ARGUMENTS πŸŽ€

  • smc β€” pointer to the apple_smc struct πŸ“
  • key β€” the key you are acquiring information for πŸ”‘
  • info β€” pointer to struct apple_smc_key_info; this is the struct that will be filled πŸ’–

πŸ¦‹ RETURN πŸ¦‹

  • 0 β€” success, slay βœ…
  • negative errno β€” error, and that is the whole mood 😭

No cap: zero on success, negative errno on error.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file to check: ./include/linux/mfd/macsmc.h πŸ“


That is a wrap, bestie πŸŽ€ Source/version: ./include/linux/mfd Β· date: October 2026 Β· page: apple_smc_get_key_info(9) βœ¨πŸ’…

πŸ“¦ where this page comes from