__relay_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __relay_reset(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so we're doing a manual page from the Kernel API Manual, section 9, and the star of the show is __relay_reset. yes it has two underscores, yes it's that girl, no we are not dropping them.


✨ NAME ✨

__relay_reset β€” reset a channel buffer πŸŒ€

Like, it resets the buffer. That's the whole vibe. Reset. Channel buffer. Iconic.


🌸 SYNOPSIS 🌸

void __relay_reset (struct rchan_buf *buf , unsigned int init );

Returns nothing (void), takes two things, does the thing. Simple as. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • buf β€” the channel buffer πŸ’– the actual buffer bestie, the one getting reset, the main character of this whole operation.
  • init β€” 1 if this is a first-time initialization ✨ so like, pass 1 when it's the buffer's very first glow-up and not a redo. That distinction is literally load-bearing, don't fumble it.

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea: this page is not gonna spell out the effect for you, because it doesn't. it says, and I quote the energy, see relay_reset for description of effect. so if you want to know what resetting actually does to the buffer, go read relay_reset(9). that's it, that's the description, no cap. πŸ™ˆ


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./kernel/relay.c β€” go read the source if you want the real tea πŸ“

And the whole relay friend group, in this exact order:

squad goals, honestly. 🌈


aaaand that's the page!! 🧚 from ./kernel, dated October 2026, brought to you by the one and only __relay_reset(9) β€” stay hydrated, pass 1 on first init, and go read relay_reset if you want the lore πŸ’…πŸ’–

πŸ“¦ where this page comes from