relay_file_r...subbuf_avail(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… relay_file_r...subbuf_avail(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes the title on this one is literally relay_file_r...subbuf_avail(9) with the lil dots in the middle, that's not me being lazy, that's just how the page is named, iykyk 🫢


🌸 NAME 🌸

relay_file_read_subbuf_avail β€” returns how many bytes are available in a sub-buffer. that's it, that's the whole vibe πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

size_t relay_file_read_subbuf_avail (size_t read_pos , struct rchan_buf *buf );

πŸŽ€ ARGUMENTS πŸŽ€

  • read_pos β€” the file read position, like where you're at in the story rn πŸ“–
  • buf β€” the relay channel buffer. the main character, honestly πŸ‘‘

⭐ SEE ALSO ⭐

literally the whole relay.c friend group, no cap 🧚 β€” the kernel file is ./kernel/relay.c, and it hangs out with:

ngl that's a whole squad and you should probably go read them all if you're messing with relay buffers fr fr πŸ’€

this lil page came from the ./kernel source, dated October 2026 β€” mwah, bye bestie, go read some bytes πŸ’œβœ¨

πŸ“¦ where this page comes from