xdrgen_svc_encode_void(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xdrgen_svc_encode_void(9) β€” the kernel API manual, bestie edition πŸŽ€

okay so we're in section 9, the Kernel API Manual, and today's main character is xdrgen_svc_encode_void ✨ lowkey the easiest function in the whole xdrgen universe and honestly? she ate. Let's get into it πŸ¦‹


🌸 NAME 🌸

xdrgen_svc_encode_void β€” encodes a void result. that's it. that's the whole job. no cap πŸ’…


✨ SYNOPSIS ✨

bool xdrgen_svc_encode_void (struct svc_rqst *rqstp , struct xdr_stream
*xdr );

she takes two things and gives you back a bool. simple. iconic. periodt πŸ‘‘


🫢 ARGUMENTS 🫢

  • rqstp β€” the RPC transaction context. like, the whole vibe of the transaction, the who-what-when of it all πŸ’œ
  • xdr β€” the target XDR data stream 🌊 aka where the encoded stuff goes. the destination. the moment.

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea on return values, fr fr:

  • true β€” the procedure results got encoded successfully πŸŽ‰ slay
  • false β€” the encode failed 😭 not slay

that's literally the entire description. short queen energy. no extra lore, no side quests 🌈


🌟 SEE ALSO 🌟

  • the kernel file ./include/linux/sunrpc/xdrgen/_builtins.h β€” go look, she's built in πŸ’–
  • xdrgen_svc_decode_void(9) β€” the decode counterpart, the other half of the duo 🧚

and that's the page!! πŸ“

ngl this one's a short read, but it's giving efficient. know her, love her, encode your voids responsibly πŸ’€

signing off from ./include/linux/sunrpc/xdrgen, dated October 2026 β€” mwah, bye bestie πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from