relay_reset(9)
π¦ relay_reset β reset the channel π¦
okay bestie, welcome to the relay_reset(9) glow-up β this is straight from the Kernel API Manual, and yes it's giving "tiny function, big consequences" energy π
β¨ NAME β¨
relay_reset β reset the channel π
π SYNOPSIS π
void relay_reset (struct rchan *chan );
πΈ ARGUMENTS πΈ
chanβ the channel. that's it, that's the whole argument, it's the channel bestie π«Ά
π DESCRIPTION π
So what does this icon actually do? Basically: it erases all data from all channel buffers and restarts the channel in its initial state. Like a full factory reset but for your relay channel β¨
The buffers are not freed, though β so any mappings are still in effect. no cap, they stick around π
β οΈ NOTE. Care should be taken that the channel isn't actually being used by anything when this call is made. fr fr, do the vibe check first β don't reset a channel that's mid-character-arc, that's not the move ππ
π₯ SEE ALSO π₯
Kernel file ./kernel/relay.c β and like, the whole relay friend group π«Ά:
relay_mmap_prepare_buf(9)relay_alloc_buf(9)relay_create_buf(9)relay_destroy_channel(9)relay_destroy_buf(9)relay_remove_buf(9)relay_buf_empty(9)relay_buf_full(9)wakeup_readers(9)__relay_reset(9)relay_close_buf(9)relay_open(9)relay_switch_subbuf(9)relay_subbufs_consumed(9)relay_close(9)relay_flush(9)relay_stats(9)relay_file_open(9)relay_file_mmap_prepare(9)relay_file_poll(9)relay_file_release(9)relay_file_read_subbuf_avail(9)relay_file_read_start_pos(9)relay_file_read_end_pos(9)
and that's the whole page, bestie β go forth and reset responsibly πβ¨
mwah π this gem is from ./kernel, dated October 2026, and it's the relay_reset(9) manual page β catch you in the next one, bye ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms