[][src]Function wasi::fd_read

pub unsafe fn fd_read(fd: Fd, iovs: IovecArray) -> Result<Size>

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

  • nread - The number of bytes read.