xdr_stream_..._item_absent(9)
π xdr_stream_encode_item_absent(9) π
okay bestie, so this is a page out of the Kernel API Manual (the 9 section, kernel stuff, you know the vibe) and it's about one tiny little function that does exactly one tiny little thing and honestly? she ate. β¨
πΈ NAME πΈ
xdr_stream_encode_item_absent β encodes a "not present" list item π«Ά
like, that's it. that's her whole job. iconic.
β¨ SYNOPSIS β¨
int xdr_stream_encode_item_absent (struct xdr_stream *xdr );
one function, one argument, no drama. π
π ARGUMENTS π
xdrβ pointer toxdr_stream. yes bestie, just a pointer. that's the whole argument. she's low maintenance like that. π¦
π₯ RETURN π₯
okay so here's the tea:
- On success, it returns the length in bytes of XDR buffer consumed. slay. π
-EMSGSIZEon XDR buffer overflow. π so if you blow past the end of the buffer, that's what you get back β no cap, watch your sizes.
π SEE ALSO π
first up, the kernel file: ./include/linux/sunrpc/xdr.h
and then the whole friend group, fr fr, all of these besties:
xdr_set_scratch_buffer(9)xdr_set_scratch_folio(9)xdr_reset_scratch_buffer(9)xdr_commit_encode(9)xdr_stream_remaining(9)xdr_align_size(9)xdr_pad_size(9)xdr_stream_encode_item_present(9)xdr_encode_bool(9)xdr_stream_encode_bool(9)xdr_stream_encode_u32(9)xdr_stream_encode_be32(9)xdr_stream_encode_u64(9)xdr_stream_encode_opaque_inline(9)xdr_stream_encode_opaque_fixed(9)xdr_stream_encode_opaque(9)xdr_stream_encode_uint32_array(9)xdr_item_is_absent(9)xdr_item_is_present(9)xdr_stream_decode_bool(9)xdr_stream_decode_u32(9)xdr_stream_decode_be32(9)xdr_stream_decode_u64(9)xdr_stream_decode_opaque_fixed(9)xdr_stream_decode_opaque_inline(9)xdr_stream_decode_uint32_array(9)
bestie the encode girlies and the decode girlies are all here, plus theis_absent/is_presentduo for when you just need a vibe check. π§
and that's the whole page, periodt. π this one lives in ./include/linux/sunrpc, dated October 2026, and the manual page itself is xdr_stream_..._item_absent(9) β mwah, see you in the next one ππ
π¦ 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