FD_WRITE
WASI Preview1 function fd_write
Definition:
;;; 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.
(@interface func (export "fd_write")
(param $fd $fd)
;;; List of scatter/gather vectors from which to retrieve data.
(param $iovs $ciovec_array)
(result $error (expected $size (error $errno)))
)
Content copied to clipboard