ir_free_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ ir_free_table(9) β€” the Kernel API Manual glow-up ✨

Okay so bestie, gather round, because we're about to talk about everyone's favorite little cleanup queen in the Kernel API Manual πŸ’… This one's a (9) section page, so ykw it's kernel-API business, and honestly? It's giving "short but essential." πŸŽ€


🌸 NAME 🌸

ir_free_table β€” the function that frees up the memory that got allocated by a scancode table 🧹✨


⭐ SYNOPSIS ⭐

void ir_free_table (struct rc_map *rc_map );

That's it. That's the whole signature. No return value, no drama, no notes. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rc_map β€” the table whose mappings need to be freed πŸ’– Like, this is the actual scancode table you're handing over so its key mappings can get released.

🌈 DESCRIPTION 🌈

Okay so here's the tea β˜• β€” this routine frees all the memory that was allocated for the key mappings used by the given scancode table. That's literally the whole job. It shows up, it cleans up, it leaves. Main character energy but make it a deallocator. πŸ”₯

No cap, it's a "you allocate it, I'll free it" situation and honestly we love a function that knows its lane. πŸ’œ

Bestie heads-up: this is the cleanup counterpart to the allocation side of things β€” if you're the one who built the table, you're the one who's gotta call this when you're done. Don't just walk away from it. 😭

πŸ” SEE ALSO πŸ”

Okay this list is long, so buckle up, we're going on a tour of the whole RC subsystem πŸš—πŸ’¨

Like, the whole friend group showed up πŸ’€ Every single one. Go say hi.


And that's the page, bestie!! πŸŽ€ This little icon was served to you from ./drivers/media/rc, dated October 2026 β€” take that info, cherish it, and go free your tables responsibly βœ¨πŸ’–πŸ¦‹

πŸ“¦ where this page comes from