pub unsafe fn fd_read(fd: Fd, iovs: IovecArray<'_>) -> Result<Size, Errno>
Expand description
Read from a file descriptor.
Note: This is similar to readv
in POSIX.
Parameters
iovs
- List of scatter/gather vectors to which to store data.
Return
The number of bytes read.