offsetofend(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to offsetofend(9) from the Kernel API Manual β€” she's here to report the offset of a struct field within the struct, and she's lowkey iconic for it πŸ’–

🌸 NAME 🌸

offsetofend β€” report the offset of a struct field within the struct. Periodt. ✨

πŸŽ€ SYNOPSIS πŸŽ€

offsetofend (TYPE , MEMBER );

πŸ’… ARGUMENTS πŸ’…

  • TYPE β€” the type of the structure. Like, which struct are we even talking about, bestie? 🫢
  • MEMBER β€” the member within the structure to get the end offset of. That's the specific field whose end offset you're after, no cap. πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, bestie πŸŽ€ β€” source/version: ./include/linux; date: October 2026 ✨

πŸ“¦ where this page comes from