relay_close(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… relay_close(9) β€” like, the Kernel API Manual page, bestie

okay so this is relay_close(9), straight out of the Kernel API Manual, and honestly? she's a closer. literally. let's get into it πŸŽ€


✨ NAME ✨

relay_close β€” close the channel 🫢

✨ SYNOPSIS ✨

void relay_close (struct rchan *chan );

that's it. that's the whole vibe check. returns nothing (void), takes one thing. slay.

✨ ARGUMENTS ✨

  • chan β€” the channel πŸ’« (yes, that's the whole description, and honestly? iconic. she knows what she is.)

✨ DESCRIPTION ✨

Closes all channel buffers and frees the channel. πŸ¦‹

like, all of them. every single buffer in that channel gets closed, and then the channel itself gets freed. it's giving "pack up, we're going home" energy. no cap, that's the entire function. clean, simple, main character. πŸ‘‘

πŸ’€ just a heads up, bestie β€” after this runs, the channel is freed. so, y'know. don't go touching it afterwards. (the page doesn't say that, but like… the word "frees" is right there, iykyk πŸ™ˆ)

✨ SEE ALSO ✨

Kernel file ./kernel/relay.c β€” go read the source, she's right there πŸ’–

and the whole relay girlie squad, fr fr:

like, the entire relay friend group. obsessed. 🌈


and that's the page, bestie!! 🧚 this cutie lives in ./kernel, and this particular edition was dated October 2026 β€” so yeah, fresh off the press. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from