Function twz_rt_fd_pread_from

Source
pub unsafe extern "C-unwind" fn twz_rt_fd_pread_from(
    fd: descriptor,
    buf: *mut c_void,
    len: usize,
    ctx: *mut io_ctx,
    ep: *mut endpoint,
) -> io_result
Expand description

Read from a file. May read less than specified len. Fill *ep with information about the source of the I/O (e.g. socket address).