nix::sys::uio

Function preadv

Source
pub fn preadv(
    fd: RawFd,
    iov: &mut [IoSliceMut<'_>],
    offset: off_t,
) -> Result<usize>
Expand description

Read from fd at offset filling buffers in iov.

Buffers in iov will be filled in order until all buffers have been filled, no more bytes are available, or an error occurs. The file offset is not changed.

See also: readv and pread