fdWrite

fnErrno fdWrite(Fd fd, const(Ciovec) * iovs, Size iovsLen, Size * nwritten) @importName("fd_write")

Write to a file descriptor.

Note

This is similar to writev in POSIX.

Like POSIX, any calls of write (and other functions to read or write) for a regular file by other threads in the WASI process should not be interleaved while write is executed.