xdrgen_svc_encode_void(9)
π 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 π slayfalseβ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms