rfkill_restore_states(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– rfkill_restore_states(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this is the whole vibe for rfkill_restore_states(9), and yes it's a short one but she's iconic, let's go ✨


🌸 NAME 🌸

rfkill_restore_states β€” restore global states. that's it. that's the whole pitch. she restores, she's global, she's states πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void rfkill_restore_states (void );

literally returns void, takes void, no drama, no notes πŸŽ€


🧚 ARGUMENTS 🧚

  • void β€” no arguments. none. zero. the function said "i need nothing from you" and honestly? main character energy πŸ‘‘

⭐ DESCRIPTION ⭐

okay so here's the teΠ° β˜• β€” rfkill_restore_states restores the global state from the states chillin' in rfkill_default_states, and it also syncs the switches to that global state. so like, it's not just setting a value, it's making the switches agree with it. alignment. unity. we love to see it 🫢

and the iconique part: this can undo the effects of a call to rfkill_epo 😭 so if some earlier rfkill_epo moment happened, this is your little "actually, let's rewind" button. no cap, it's giving undo-button energy πŸ’€βœ¨


πŸ”₯ SEE ALSO πŸ”₯

all the siblings in the family, live from the kernel file ./net/rfkill/core.c πŸ“‚:

go read them, they're all lowkey connected, iykyk 🌈


and that's the whole page bestie!! mwah πŸ’‹ she lives in ./net/rfkill, dated October 2026, and her name is rfkill_restore_states(9) β€” go forth and restore those states, periodt πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from