---
name: "relay_file_read_start_pos"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/relay_file_read_start_pos"
---

# relay\_file\_read\_start\_pos(9)

find the first available byte to read

## NAME

relay\_file\_read\_start\_pos - find the first available byte to read

## SYNOPSIS

**size\_t relay\_file\_read\_start\_pos(size\_t** *read\_pos***, struct rchan\_buf \*** *buf***);**

## ARGUMENTS

*read\_pos*

file read position

*buf*

relay channel buffer

## DESCRIPTION

If the *read\_pos* is in the middle of padding, return the position of the first actually available byte, otherwise return the original value.

## COPYRIGHT
