xdr_stream_d...uint32_array(9)
π NAME π
okay so bestie, this is the xdr_stream_d...uint32_array(9) page from the Kernel API Manual, and it's literally about xdr_stream_decode_uint32_array β the function that decodes a variable length array of integers. variable length? array? integers? she's doing the most, and honestly? iconic π
β¨
πΈ SYNOPSIS πΈ
ssize_t xdr_stream_decode_uint32_array (struct xdr_stream *xdr , __u32 *array , size_t array_size );
π ARGUMENTS π
xdrβ pointer toxdr_stream. that's the stream, bestie π«Άarrayβ location to store the integer array, orNULL. yes,NULLis allowed, no cap πarray_sizeβ number of elements to store. that's the capacity vibe π
π¦ RETURN π¦
On success, it returns the number of elements stored in array. slay β¨
and then there's the bad-news girlies:
-EBADMSGon XDR buffer overflow π-EMSGSIZEif the size of the array exceedsarray_sizeπ
fr fr, those return values are the documented ones β don't invent extra lore, bestie.
π₯ SEE ALSO π₯
the kernel file is ./include/linux/sunrpc/xdr.h, and it's giving "go read these next":
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_stream_encode_item_absent(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)
and that's the whole page, bestie π source/version ./include/linux/sunrpc, date October 2026, manual page xdr_stream_d...uint32_array(9) β go decode responsibly πβ¨
π¦ 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