# Packages
No description provided by the author
# Functions
ErrnoName returns the POSIX error code name, except ErrnoSuccess, which is not an error.
No description provided by the author
FiletypeName returns string name of the file type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ToErrno coerces the error to a WASI Errno.
# Constants
No description provided by the author
No description provided by the author
ClockIDMonotonic is the name ID named "monotonic" like sys.Nanotime.
ClockIDRealtime is the name ID named "realtime" like sys.Walltime.
No description provided by the author
No description provided by the author
DirentSize is the size of the dirent struct, which should be followed by the length of a file name.
No description provided by the author
No description provided by the author
Errno2big Argument list too long.
ErrnoAcces Permission denied.
ErrnoAddrinuse Address in use.
ErrnoAddrnotavail Address not available.
ErrnoAfnosupport Address family not supported.
ErrnoAgain Resource unavailable, or operation would block.
ErrnoAlready Connection already in progress.
ErrnoBadf Bad file descriptor.
ErrnoBadmsg Bad message.
ErrnoBusy Device or resource busy.
ErrnoCanceled Operation canceled.
ErrnoChild No child processes.
ErrnoConnaborted Connection aborted.
ErrnoConnrefused Connection refused.
ErrnoConnreset Connection reset.
ErrnoDeadlk Resource deadlock would occur.
ErrnoDestaddrreq Destination address required.
ErrnoDom Mathematics argument out of domain of function.
ErrnoDquot Reserved.
ErrnoExist File exists.
ErrnoFault Bad address.
ErrnoFbig File too large.
ErrnoHostunreach Host is unreachable.
ErrnoIdrm Identifier removed.
ErrnoIlseq Illegal byte sequence.
ErrnoInprogress Operation in progress.
ErrnoIntr Interrupted function.
ErrnoInval Invalid argument.
ErrnoIo I/O error.
ErrnoIsconn Socket is connected.
ErrnoIsdir Is a directory.
ErrnoLoop Too many levels of symbolic links.
ErrnoMfile File descriptor value too large.
ErrnoMlink Too many links.
ErrnoMsgsize Message too large.
ErrnoMultihop Reserved.
ErrnoNametoolong Filename too long.
ErrnoNetdown Network is down.
ErrnoNetreset Connection aborted by network.
ErrnoNetunreach Network unreachable.
ErrnoNfile Too many files open in system.
ErrnoNobufs No buffer space available.
ErrnoNodev No such device.
ErrnoNoent No such file or directory.
ErrnoNoexec Executable file format error.
ErrnoNolck No locks available.
ErrnoNolink Reserved.
ErrnoNomem Not enough space.
ErrnoNomsg No message of the desired type.
ErrnoNoprotoopt No message of the desired type.
ErrnoNospc No space left on device.
ErrnoNosys function not supported.
ErrnoNotconn The socket is not connected.
ErrnoNotdir Not a directory or a symbolic link to a directory.
ErrnoNotempty Directory not empty.
ErrnoNotrecoverable State not recoverable.
ErrnoNotsock Not a socket.
ErrnoNotsup Not supported, or operation not supported on socket.
ErrnoNotty Inappropriate I/O control operation.
ErrnoNxio No such device or address.
ErrnoOverflow Value too large to be stored in data type.
ErrnoOwnerdead Previous owner died.
ErrnoPerm Operation not permitted.
ErrnoPipe Broken pipe.
ErrnoProto Protocol error.
ErrnoProtonosupport Protocol error.
ErrnoPrototype Protocol wrong type for socket.
ErrnoRange Result too large.
ErrnoRofs Read-only file system.
ErrnoSpipe Invalid seek.
ErrnoSrch No such process.
ErrnoStale Reserved.
ErrnoSuccess No error occurred.
ErrnoTimedout Connection timed out.
ErrnoTxtbsy Text file busy.
ErrnoXdev Cross-device link.
EventTypeClock is the timeout event named "name".
EventTypeFdRead is the data available event named "fd_read".
EventTypeFdWrite is the capacity available event named "fd_write".
nolint.
file descriptor flags See https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#fdflags.
file descriptor flags See https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#fdflags.
file descriptor flags See https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#fdflags.
file descriptor flags See https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#fdflags.
https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#-advice-enumu8.
https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#-advice-enumu8.
https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#-advice-enumu8.
https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#-advice-enumu8.
https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#-advice-enumu8.
https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#-advice-enumu8.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#fstflags.
https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#fstflags.
https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#fstflags.
https://github.com/WebAssembly/WASI/blob/snapshot-01/phases/snapshot/docs.md#fstflags.
InternalModuleName is not named ModuleName, to avoid a clash on dot imports.
nolint.
nolint.
O_DIRECTORY fails if not a directory.
nolint.
nolint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
nolint.
RI_RECV_WAITALL on byte-stream sockets, block until the full amount of data can be returned.
RIGHT_FD_ADVISE is the right to invoke fd_advise.
RIGHT_FD_ALLOCATE is the right to invoke fd_allocate.
nolint.
RIGHT_FD_FILESTAT_GET is the right to invoke fd_filestat_get.
RIGHT_FD_FILESTAT_SET_SIZE is the right to invoke fd_filestat_set_size.
RIGHT_FD_FILESTAT_SET_TIMES is the right to invoke fd_filestat_set_times.
RIGHT_FD_READ is he right to invoke fd_read and sock_recv.
RIGHT_FD_READDIR is the right to invoke fd_readdir.
RIGHT_FD_SEEK is the right to invoke fd_seek.
RIGHT_FD_SYNC The right to invoke fd_sync.
RIGHT_FD_TELL is the right to invoke fd_seek in such a way that the file offset remains unaltered (i.e., whence::cur with offset zero), or to invoke fd_tell.
RIGHT_FD_WRITE is the right to invoke fd_write and sock_send.
RIGHT_FDSTAT_SET_FLAGS is the right to invoke fd_fdstat_set_flags.
RIGHT_PATH_CREATE_DIRECTORY is the right to invoke path_create_directory.
RIGHT_PATH_CREATE_FILE when RIGHT_PATH_OPEN is set, the right to invoke path_open with O_CREAT.
RIGHT_PATH_FILESTAT_GET is the right to invoke path_filestat_get.
RIGHT_PATH_FILESTAT_SET_SIZE is the right to change a file's size (there is no path_filestat_set_size).
RIGHT_PATH_FILESTAT_SET_TIMES is the right to invoke path_filestat_set_times.
RIGHT_PATH_LINK_SOURCE is the right to invoke path_link with the file descriptor as the source directory.
RIGHT_PATH_LINK_TARGET is the right to invoke path_link with the file descriptor as the target directory.
RIGHT_PATH_OPEN is the right to invoke path_open.
RIGHT_PATH_READLINK is the right to invoke path_readlink.
RIGHT_PATH_REMOVE_DIRECTORY is the right to invoke path_remove_directory.
RIGHT_PATH_RENAME_SOURCE is the right to invoke path_rename with the file descriptor as the source directory.
RIGHT_PATH_RENAME_TARGET is the right to invoke path_rename with the file descriptor as the target directory.
RIGHT_PATH_SYMLINK is the right to invoke path_symlink.
RIGHT_PATH_UNLINK_FILE is the right to invoke path_unlink_file.
RIGHT_POLL_FD_READWRITE when RIGHT_FD_READ is set, includes the right to invoke poll_oneoff to subscribe to eventtype::fd_read.
RIGHT_SOCK_SHUTDOWN is the right to invoke sock_shutdown.
nolint.
No description provided by the author
nolint.
SD_WR disables further send operations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Errno is neither uint16 nor an alias for parity with wasm.ValueType.