Function wasmer_wasix::syscalls::wasi::fd_write::fd_write

source ·
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 to
  • const __wasi_ciovec_t *iovs List of vectors to read data from
  • u32 iovs_len Length of data in iovs Output:
  • u32 *nwritten Number of bytes written Errors: