xdr_stream_remaining(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« xdr_stream_remaining β€” the manual page, but make it make sense πŸ’«

okay so bestie, picture this: you're deep in the kernel, you're poking at a struct xdr_stream, and you just need to know how much room is left in there. That's literally the whole plot. This is xdr_stream_remaining, a page from the Kernel API Manual, and it is exactly as iconic as it sounds. πŸŽ€


🌸 NAME 🌸

xdr_stream_remaining β€” returns the number of bytes remaining in the stream. that's it. that's the function. she's a one-job girlie and she ATE. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

size_t xdr_stream_remaining (const struct xdr_stream *xdr );

yep, that's the whole signature. size_t out, a const struct xdr_stream * in. clean, simple, no drama. πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • xdr β€” pointer to struct xdr_stream. that's the stream we're vibing with. she's const, so hands off, we're just looking. πŸ‘€

⭐ RETURN ⭐

the number of bytes remaining in xdr before xdr->end. like, how much runway is left before you hit the end of the stream. fuel gauge energy. πŸ”₯


🌈 SEE ALSO 🌈

bestie this list is LONG, so buckle up. these all live in the Kernel file ./include/linux/sunrpc/xdr.h, and they're all in the same friend group:

like I said. whole friend group. go say hi. 🫢


okay that's the page!! sourced from ./include/linux/sunrpc, dated October 2026, and this is xdr_stream_remaining(9) signing off πŸ’œ mwah, go read your xdr headers, ily, bye!! 🧚✨

πŸ“¦ where this page comes from