relay_flush(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… relay_flush(9) β€” from the Kernel API Manual, bestie

okay so picture this: you're deep in relay land, right? that's the kernel's whole buffered-channel situation. and relay_flush is the little function that says "wrap it up, we're done here." that's literally the whole page. short, sweet, iconic. let's get into it πŸŽ€


✨ SYNOPSIS ✨

void relay_flush (struct rchan *chan );

no return value, no drama. it just does the thing and dips. πŸ’…


🌸 ARGUMENTS 🌸

  • chan β€” the channel πŸ’– that's it, that's the argument. the channel you're flushing. she's the main character here.

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it actually do? it flushes all the channel buffers β€” every single one, no cap β€” which basically means it forces a buffer switch. πŸ”₯

think of it like hitting "send" on the group chat: everything sitting in the buffers gets pushed along and the channel moves on to the next one. periodt. ✨

ngl, that's the entire description. the manpage is not long. she said what she said and left. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

like, the whole relay fam, all up in here β€” the kernel file lives at ./kernel/relay.c, and these are the siblings you should also go read, fr fr:


🫢 the sign-off 🫢

this little baddie comes to you from ./kernel πŸ“ and she's stamped October 2026 ⭐ β€” so yeah, read her, love her, flush responsibly. mwah πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from