Function fd_pread

Source
pub unsafe fn fd_pread(
    fd_: fd,
    iovs_: &[iovec],
    offset_: filesize,
    nread_: *mut usize,
) -> errno
Expand description

Reads from a file descriptor, without using and updating the file descriptor’s offset.

§Parameters

fd: The file descriptor from which data should be read.

iovs: List of scatter/gather vectors where data should be stored.

offset: The offset within the file at which reading should start.

nread: The number of bytes read.