[][src]Function cloudabi::fd_pread

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

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.