relay_file_read_start_pos(9)
π relay_file_read_start_pos(9) π
okay so bestie, this little icon is from the Kernel API Manual, and it's here to help you find the first byte that's actually ready to read. no cap. π«Ά
πΈ NAME πΈ
relay_file_read_start_pos β find the first available byte to read
β¨ SYNOPSIS β¨
size_t relay_file_read_start_pos (struct rchan_buf *buf );
π ARGUMENTS π
bufβ relay channel buffer
π DESCRIPTION π
okay so picture this: if read_pos is chillin' in the middle of padding, this function returns the position of the first byte that's actually available. otherwise? it just returns the original value. that's it, that's the whole vibe. β¨
π SEE ALSO π
Kernel file ./kernel/relay.c, plus all these lovely little friends:
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_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_end_pos(9)
mwah π this page came from source/version ./kernel, dated October 2026, and it's all about relay_file_read_start_pos(9) β bye bestie, go read those bytes! π«Άβ¨
π¦ 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