rfkill_get_global_sw_state(9)
β¨ NAME β¨
rfkill_get_global_sw_state β returns global state for a type π
okay so real talk: this is the Kernel API Manual page for rfkill_get_global_sw_state(9), and it's literally here to hand you the global state for a type. no cap.
πΈ SYNOPSIS πΈ
bool rfkill_get_global_sw_state (const enum rfkill_type type );
π ARGUMENTS π
typeβ the type to get the global state of. that's theconst enum rfkill_typebestie, and it's the thing you're asking about π«Ά
π DESCRIPTION π
Returns the current global state for a given wireless device type. that's it, that's the whole vibe β¨ the function gives you a bool, and it's the global state for whatever wireless device type you passed in. iconic behavior, honestly π
π₯ SEE ALSO π₯
- Kernel file
./net/rfkill/core.c rfkill_set_block(9)__rfkill_switch_all(9)rfkill_switch_all(9)rfkill_epo(9)rfkill_restore_states(9)rfkill_remove_epo_lock(9)rfkill_is_epo_lock_active(9)
mwah π this cutie lives in ./net/rfkill, dated October 2026, and its whole name is rfkill_get_global_sw_state(9). periodt π
π¦ 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