FD_PREAD

WASI Preview1 function fd_pread

Definition:

;;; Read from a file descriptor, without using and updating the file descriptor's offset.
;;; Note: This is similar to `preadv` in Linux (and other Unix-es).
(@interface func (export "fd_pread")
(param $fd $fd)
;;; List of scatter/gather vectors in which to store data.
(param $iovs $iovec_array)
;;; The offset within the file at which to read.
(param $offset $filesize)
;;; The number of bytes read.
(result $error (expected $size (error $errno)))
)