apple_smc_key_exists(9)
β¨ NAME β¨
okay so bestie, this page is all about apple_smc_key_exists(9) from the kernel API manual, and it does one iconic little thing: check if the given SMC key exists. that's the whole assignment, no cap π
π¦ SYNOPSIS π¦
here's the signature, copy it exactly, do not freestyle:
bool apple_smc_key_exists (struct apple_smc *smc , smc_key key );
π ARGUMENTS π
smcβ Pointer toapple_smcstruct, aka the SMC struct you're handing over.keyβ thesmc_keyto be checked. that's the key getting the vibe check π
π RETURN π
True if the key exists, false otherwise. simple, clean, returned as a bool β we love a straightforward answer. β¨
π₯ SEE ALSO π₯
- Kernel file
./include/linux/mfd/macsmc.h smc_key(9)SMC_KEY(9)struct apple_smc_key_info(9)enum apple_smc_boot_stage(9)struct apple_smc(9)apple_smc_read(9)apple_smc_write(9)apple_smc_enter_atomic(9)apple_smc_write_atomic(9)apple_smc_rw(9)apple_smc_get_key_by_index(9)apple_smc_get_key_info(9)
okay that's the whole page, bestie π«Ά shoutout to the source/version ./include/linux/mfd and the date stamp October 2026 β mwah, go check those keys π
β¨
π¦ 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