xdr_reset_scratch_buffer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ xdr_reset_scratch_buffer β€” a Kernel API Manual moment, bestie πŸŽ€

okay so we're in the Kernel API Manual today and this page is short but honestly? iconic. it's giving "one job, does it well" energy. πŸ’…


✨ NAME ✨

xdr_reset_scratch_buffer β€” clear the scratch buffer info 🧹✨

like, it resets. the scratch buffer. the information about it. no cap.


🌸 SYNOPSIS 🌸

void xdr_reset_scratch_buffer (struct xdr_stream *xdr );

that's it. that's the whole thing. returns nothing (void), takes one pointer, and honestly it ate. πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • xdr β€” a pointer to a struct xdr_stream 🫢 just hand over your lil stream struct and let it do its thing.

πŸ’œ DESCRIPTION πŸ’œ

okay so lowkey the description here is literally just... go look at xdr_set_scratch_buffer. that's the whole vibe. 😭 the manpage is not gonna elaborate, bestie, it's pointing you at the sibling function and trusting you to handle it. main character delegation energy fr fr. πŸ’€

no extra lore here β€” the original genuinely just says "See xdr_set_scratch_buffer." so that's what we're saying too. πŸ™ˆ

🌈 SEE ALSO 🌈

bestie there is a LOT here. the whole xdr extended family showed up to the group chat. πŸ‘‘

first up, the actual file this all lives in:

Kernel file ./include/linux/sunrpc/xdr.h πŸ“

and now the whole squad, in order:

like literally all of them. encode girlies, decode girlies, size girlies, presence-check girlies β€” everyone's invited 🫢✨


and that's the page, babes πŸ’– this one came from ./include/linux/sunrpc, dated October 2026, and it's xdr_reset_scratch_buffer(9) forever and always. slay, stay hydrated, and may your scratch buffers always be clear πŸ“πŸ§šβ€β™€οΈπŸ’…

πŸ“¦ where this page comes from