pub fn fd_write<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
iovs: WasmPtr<__wasi_ciovec_t<M>, M>,
iovs_len: M::Offset,
nwritten: WasmPtr<M::Offset, M>,
) -> Result<Errno, WasiError>
Expand description
§fd_write()
Write data to the file descriptor Inputs:
Fd
File descriptor (opened with writing) to write toconst __wasi_ciovec_t *iovs
List of vectors to read data fromu32 iovs_len
Length of data iniovs
Output:u32 *nwritten
Number of bytes written Errors: