EventFdReadwrite
WASI Preview1 type $event_fd_readwrite
The contents of an event
when type is eventtype::fd_read
or eventtype::fd_write
.
Parameters
nbytes
The number of bytes available for reading or writing.
flags
The state of the file descriptor.
Definition:
(typename $event_fd_readwrite
(record
;;; The number of bytes available for reading or writing.
(field $nbytes $filesize)
;;; The state of the file descriptor.
(field $flags $eventrwflags)
)
)
Content copied to clipboard