nix::sys::uio

Function pread

source
pub fn pread<Fd: AsFd>(fd: Fd, buf: &mut [u8], offset: off_t) -> Result<usize>
Expand description

Low-level read from a file, with specified offset.

See also pread(2)