STRUCT LINEDISP_MAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct linedisp_map(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this little cutie is struct linedisp_map, and it's literally the character mapping</grand>... let me not typo, it's the character mapping struct. it's giving "small but mighty" and we're obsessed πŸŽ€


✨ SYNOPSIS ✨

like, here's the whole vibe, verbatim, no cap:

struct linedisp_map {
    enum linedisp_map_type type;
    union {
      struct seg7_conversion_map seg7;
      struct seg14_conversion_map seg14;
    } map;
    unsigned int size;
 };

that's it. that's the struct. she's compact and she knows it πŸ’…


🌸 Members 🌸

so these are her fields, and yeah, every single one matters:

  • type β€” the type of the character mapping πŸ¦‹ like, which flavor of mapping are we even doing here
  • map β€” the conversion character mapping itself πŸ’– the actual lookup-y goodness
  • size β€” the size of the map πŸ“ gotta know how big she is
ngl bestie, all three of these are load-bearing. don't skip any of them πŸ™ˆ

πŸŽ€ SEE ALSO πŸŽ€

go read these next, iykyk:

  • Kernel file ./drivers/auxdisplay/line-display.h enum
  • linedisp_map_type(9)
  • struct linedisp_ops(9)
  • struct linedisp(9)

and that's the whole page, bestie! 🫢 this one lives over in ./drivers/auxdisplay (the line-display corner of the kernel, iconic), dated October 2026, and it's filed under struct linedisp_map(9) in the Kernel API Manual. slay, go read the SEE ALSOs, periodt β­πŸ’œ

πŸ“¦ where this page comes from