xdr_align_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xdr_align_size(9) ✨

okay bestie, welcome to the Kernel API Manual corner of the group chat 🫢 today’s main character is xdr_align_size(9), and it is lowkey iconic for doing one tiny job extremely well πŸŽ€


πŸŽ€ NAME πŸŽ€

xdr_align_size β€” Calculate padded size of an object ✨

🌸 SYNOPSIS 🌸

literally the whole thing, no cap:

size_t xdr_align_size (size_t n );

πŸ’… ARGUMENTS πŸ’…

  • n β€” Size of an object being XDR encoded (in bytes) 🫢 that’s the input, bestie.

πŸ¦‹ RETURN πŸ¦‹

You get back the Size (in bytes) of the object including xdr padding πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/sunrpc/xdr.h β€” go peek, iykyk πŸ‘‘

and the whole iconic squad:


cute sign-off: source/version ./include/linux/sunrpc πŸ’œ date October 2026 πŸ’œ page xdr_align_size(9) β€” byeee bestie, slay your XDR padding πŸ’…βœ¨

πŸ“¦ where this page comes from