[−][src]Function linux::syscall::lseek
pub fn lseek(fd: c_int, offset: loff_t, whence: c_uint) -> loff_t
Seeks in a file descriptor.
[argument, fd] The file descriptor in which to seek.
[argument, offset] The range to seek.
[argument, whence] How to seek.
[return_value] Returns the new position in the file descriptor or an error value.
= See also
- link:man:lseek(2)