pub fn fd_pwrite<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
iovs: WasmPtr<__wasi_ciovec_t<M>, M>,
iovs_len: M::Offset,
offset: Filesize,
nwritten: WasmPtr<M::Offset, M>,
) -> Result<Errno, WasiError>
Expand description
§fd_pwrite()
Write to a file without adjusting its offset 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
Filesize offset
The offset to write at Output:u32 *nwritten
Number of bytes written