xdr_stream_pos(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xdr_stream_pos(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this one's a tiny little function in the kernel's XDR corner and honestly it's giving "short but essential" β€” let's get into it πŸŽ€


🌸 NAME 🌸

xdr_stream_pos β€” returns the current offset from the start of the xdr_stream πŸ¦‹

like, literally just "where are we right now" energy. main character position-tracking vibes ✨


🧚 SYNOPSIS 🧚

unsigned int xdr_stream_pos (const struct xdr_stream *xdr );

no cap, that's the whole signature πŸ‘‘ note the const β€” she's not touching your stream, she's just looking πŸ‘€


πŸ’– ARGUMENTS πŸ’–

  • xdr β€” pointer to struct xdr_stream 🫢 that's the stream whose position we're peeking at, iykyk

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/sunrpc/xdr.c β€” and omg the friend group here is huge, she knows everybody at the party πŸ˜­πŸ’€:


bestie reminder: this page is from the kernel source tree at ./net/sunrpc β€” that's the version/source tag right there 🫢 so if you're citing her, that's where she lives πŸ’œ

and that's the whole page, we ate and left no crumbs πŸ“πŸ’… slay, go measure some offsets, periodt ⭐

β€” with love, your favorite kernel-source folder, ./net/sunrpc, dated October 2026 πŸŽ€βœ¨

πŸ“¦ where this page comes from