Skip to main content

lseek

Function lseek 

Source
pub fn lseek(fd: usize, offset: isize, whence: usize) -> Result<usize, Error>
Expand description

Seek to offset bytes in a file descriptor.

whence: 0=SEEK_SET, 1=SEEK_CUR, 2=SEEK_END. Returns the new absolute offset.