RELAY_FILE_READ_STAR

Section: relay interface support (9)
Updated: February 2011
Index Return to Main Contents
 

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