[][src]Function linux::syscall::pread

pub fn pread(fd: c_int, buf: &mut [d8], offset: loff_t) -> ssize_t

Reads from an offset in a file descriptor.

[argument, fd] The affected file descriptor.

[argument, buf] The buffer to read into.

[argument, offset] The offset from which to read.

[return_value] Returns the number of bytes read or an error value.

= See also

  • link:man:pread(2)