Function lseek

Source
pub unsafe extern "C" fn lseek(
    fd: i32,
    offset: isize,
    whence: i32,
) -> isize
Expand description

The fseek() function sets the file position indicator for the stream pointed to by stream. The new position, measured in bytes, is obtained by adding offset bytes to the position specified by whence. If whence is set to SEEK_SET, SEEK_CUR, or SEEK_END, the offset is relative to the start of the file, the current position indicator, or end-of-file, respectively.