xdr_stream_d...uint32_array(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 to xdr_stream. that's the stream, bestie 🫢
  • array β€” location to store the integer array, or NULL. yes, NULL is 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:

  • -EBADMSG on XDR buffer overflow 😭
  • -EMSGSIZE if the size of the array exceeds array_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":


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