[−][src]Function wasi::fd_pwrite
pub unsafe fn fd_pwrite(
fd: Fd,
iovs: CiovecArray,
offset: Filesize
) -> Result<Size>
Write to a file descriptor, without using and updating the file descriptor's offset.
Note: This is similar to pwritev
in POSIX.
Parameters
iovs
- List of scatter/gather vectors from which to retrieve data.offset
- The offset within the file at which to write.
Return
nwritten
- The number of bytes written.