Module wasi

Source

Modules§

bindings 🔒
bindings_manual 🔒
wasix_manual 🔒

Structs§

AddrUnspec
AddrUnspecPort
CidrUnspec
Dirent
A directory entry.
DlFlags
EpollData
An event that can be triggered
EpollEvent
An event that can be triggered
EpollEventCtl
EpollType
Epoll available event types.
ErrnoSignal
Represents an errno and a signal
Event
An event that occurred.
EventFdReadwrite
The contents of an event for the eventtype::fd_read and eventtype::fd_write variants
Eventrwflags
The state of the file descriptor subscribed to with eventtype::fd_read or eventtype::fd_write.
ExitCode
Fdflags
File descriptor flags.
Fdflagsext
Fdstat
File descriptor attributes.
Filestat
Fstflags
Which file time attributes to adjust. TODO: wit appears to not have support for flags repr (@witx repr u16)
HttpHandles
HttpStatus
JoinFlags
join flags.
JoinStatus
Lookup
Flags determining the method of how paths are resolved. TODO: wit appears to not have support for flags repr (@witx repr u32)
Oflags
Open flags used by path_open. TODO: wit appears to not have support for flags repr (@witx repr u16)
OptionFd
OptionPid
OptionTimestamp
PipeHandles
Prestat
PrestatU
PrestatUDir
ProcSpawnFdOp
An FD operation performed during proc_spawn2, which is the backing syscall for posix_spawn.
ProcessHandles
ReflectionResult
A structure representing the reflection information for a function signature
Rights
File descriptor rights, determining which actions may be performed.
SignalDisposition
A signal and its corresponding action.
Snapshot0Dirent
A directory entry, snapshot0 version.
Snapshot0Event
An event that occurred.
Snapshot0Filestat
Snapshot0Subscription
Snapshot0SubscriptionClock
The contents of a subscription when type is eventtype::clock.
StackSnapshot
Subclockflags
Flags determining how to interpret the timestamp provided in subscription-clock::timeout.
Subscription
SubscriptionClock
The contents of a subscription when type is eventtype::clock.
SubscriptionFsReadwrite
An event that occurred. The contents of an event. An event that occurred. The contents of a subscription, snapshot0 version. The contents of a subscription. The contents of a subscription when the variant is eventtype::fd_read or eventtype::fd_write.
ThreadStart
Represents the thread start object
ThreadStateFlags
thread state flags
Tty

Enums§

Addressfamily
Advice
File or memory access pattern advisory information.
Bool
Clockid
Identifiers for clocks.
Disposition
EpollCtl
Epoll operation.
Errno
Error codes returned by functions. Not all of these error codes are returned by the functions provided by this API; some are used in higher-level library layers, and others are provided merely for alignment with POSIX.
Eventtype
Type of a subscription to an event or its occurrence.
Filetype
The type of a file descriptor or file.
JoinStatusType
What has happened with the proccess when we joined on it
OptionTag
__wasi_option_t
Preopentype
Identifiers for preopened capabilities.
PrestatEnum
ProcSpawnFdOpName
Signal
Snapshot0Clockid
Identifiers for clocks, snapshot0 version.
Snapshot0Whence
SockProto
Sockoption
Sockstatus
Socktype
StdioMode
Streamsecurity
Timeout
WasmValueType
The type of a WASM value represented at runtime for use with the wasix closures API.
Whence

Type Aliases§

Count
Device
Identifier for a device containing a file system. Can be used in combination with inode to uniquely identify a file or directory in the filesystem.
Dircookie
A reference to the offset of a directory entry.
Dirnamlen
The type for the dirent::d-namlen field of dirent struct.
DlHandle
EventFdFlags
Fd
A file descriptor handle.
FileDelta
Filesize
Non-negative file size or length of a region within a file.
Inode
File serial number that is unique within its file system.
Linkcount
Longsize
Long size used by checkpoints
LookupFlags
Pid
RiFlags
RoFlags
SdFlags
SiFlags
Size
Type names used by low-level WASI interfaces. An array size.
Snapshot0Linkcount
Tid
Timestamp
Timestamp in nanoseconds.
TlKey
Thread local key
TlUser
Thread local user data (associated with the value)
TlVal
Thread local value
Userdata
User-provided value that may be attached to objects that is retained when extracted from the implementation.

Unions§

EventUnion
The contents of an event.
JoinStatusUnion
Snapshot0SubscriptionUnion
The contents of a subscription, snapshot0 version.
SubscriptionUnion
The contents of a subscription.