pub fn twz_rt_fd_pread_from(
fd: RawFd,
buf: &mut [u8],
ctx: &mut IoCtx,
) -> Result<(usize, Endpoint)>
Expand description
Read a file descriptor into a buffer, up to buf.len() bytes. On success, returns the number of bytes actually read, which may be fewer than requested.