relay_file_read_subbuf_avail — return bytes available in sub-buffer
size_t relay_file_read_subbuf_avail (
)
read_pos
file read position
buf
relay channel buffer