rustix::fs

Function seek

Source
pub fn seek<Fd: AsFd>(fd: Fd, pos: SeekFrom) -> Result<u64>
Available on crate feature fs only.
Expand description

lseek(fd, offset, whence)—Repositions a file descriptor within a file.

§References