pub fn fd_read<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
iovs: WasmPtr<__wasi_iovec_t<M>, M>,
iovs_len: M::Offset,
nread: WasmPtr<M::Offset, M>,
) -> Result<Errno, WasiError>Expand description
ยงfd_read()
Read data from file descriptor Inputs:
Fd fdFile descriptor from which data will be readconst __wasi_iovec_t *iovsVectors where data will be storedu32 iovs_lenLength of data iniovsOutput:u32 *nreadNumber of bytes read