xdr_encode_bool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

xdr_encode_bool β€” encodes one (1) boolean item, no cap, no stress ✨

okay so bestie, quick vibe check: this is the manual page for xdr_encode_bool(9), living its best life in the Kernel API Manual. It's a tiny little function that takes a boolean and yeets it into a buffer. That's the whole plot πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

__be32 * xdr_encode_bool (__be32 *p , u32 n );

🌸 ARGUMENTS 🌸

  • p β€” the address in a buffer into which to encode. like, this is where the boolean is gonna live, so hand it over gently 🫢
  • n β€” the boolean value to encode. yes it's typed u32, yes that's intentional, don't come for her πŸ’€

⭐ RETURN ⭐

It hands you back the address of the item following the encoded boolean. so like, the next free spot β€” main character energy, always pointing forward πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/sunrpc/xdr.h, plus literally the entire xdr cinematic universe, bestie β€” go read these too, iykyk:


and that's the whole page, bestie πŸ§šπŸ’– this came out of ./include/linux/sunrpc, dated October 2026 β€” obsessed, iconic, periodt πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from