rfkill_destroy(9)
π rfkill_destroy(9) β from the Kernel API Manual, bestie π
Okay so real talk, this page lives in the Kernel API Manual and it's all about one tiny little function called rfkill_destroy. Short page, big "last one out turn off the lights" energy. Let's get into it β¨
π NAME π
rfkill_destroy β frees the rfkill structure. That's it, that's the whole vibe. It's the cleanup girlie πΈ
π¦ SYNOPSIS π¦
void rfkill_destroy (struct rfkill *rfkill );
Note the void β this function does not hand you anything back. It just does the thing and dips π
π ARGUMENTS π
rfkillβ the rfkill structure that's getting destroyed. Like, the actual one. The one you want gone. Yeet it π«Ά
β¨ DESCRIPTION β¨
Destroys the rfkill structure. Periodt. It's giving "short and sweet," no cap β that's genuinely the entire documented behaviour, so don't go reading extra powers into it π₯
π SEE ALSO π
The kernel file ./include/linux/rfkill.h is where the struct rfkill_ops(9) situation lives, and honestly the whole rfkill friend group is linked here β go say hi to all of them:
rfkill_alloc(9)rfkill_register(9)rfkill_pause_polling(9)rfkill_resume_polling(9)rfkill_unregister(9)rfkill_set_hw_state_reason(9)rfkill_set_hw_state(9)rfkill_set_sw_state(9)rfkill_init_sw_state(9)rfkill_set_states(9)rfkill_blocked(9)rfkill_soft_blocked(9)rfkill_find_type(9)rfkill_get_led_trigger_name(9)rfkill_set_led_trigger_name(9)
iykyk π
Heads up bestie: this page is a short one, so if you're looking for the full lifecycle β alloc, register, unregister, then destroy β the SEE ALSO list is your group chat. Don't skip straight to the destroy π
And that's the whole read, babe π§ Coming to you from ./include/linux, dated October 2026 β slay, see you in the next manpage πππ
π¦ 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