Modules§
Structs§
- Addr
Unspec - Addr
Unspec Port - Cidr
Unspec - Dirent
- A directory entry.
- DlFlags
- Epoll
Data - An event that can be triggered
- Epoll
Event - An event that can be triggered
- Epoll
Event Ctl - Epoll
Type - Epoll available event types.
- Errno
Signal - Represents an errno and a signal
- Event
- An event that occurred.
- Event
FdReadwrite - The contents of an
event
for theeventtype::fd_read
andeventtype::fd_write
variants - Eventrwflags
- The state of the file descriptor subscribed to with
eventtype::fd_read
oreventtype::fd_write
. - Exit
Code - 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)
- Http
Handles - Http
Status - Join
Flags - join flags.
- Join
Status - 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) - Option
Fd - Option
Pid - Option
Timestamp - Pipe
Handles - Prestat
- PrestatU
- PrestatU
Dir - Proc
Spawn FdOp - An FD operation performed during proc_spawn2, which is the backing syscall for posix_spawn.
- Process
Handles - Reflection
Result - A structure representing the reflection information for a function signature
- Rights
- File descriptor rights, determining which actions may be performed.
- Signal
Disposition - A signal and its corresponding action.
- Snapshot0
Dirent - A directory entry, snapshot0 version.
- Snapshot0
Event - An event that occurred.
- Snapshot0
Filestat - Snapshot0
Subscription - Snapshot0
Subscription Clock - The contents of a
subscription
when type iseventtype::clock
. - Stack
Snapshot - Subclockflags
- Flags determining how to interpret the timestamp provided in
subscription-clock::timeout
. - Subscription
- Subscription
Clock - The contents of a
subscription
when type iseventtype::clock
. - Subscription
FsReadwrite - An event that occurred.
The contents of an
event
. An event that occurred. The contents of asubscription
, snapshot0 version. The contents of asubscription
. The contents of asubscription
when the variant iseventtype::fd_read
oreventtype::fd_write
. - Thread
Start - Represents the thread start object
- Thread
State Flags - thread state flags
- Tty
Enums§
- Addressfamily
- Advice
- File or memory access pattern advisory information.
- Bool
- Clockid
- Identifiers for clocks.
- Disposition
- Epoll
Ctl - 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.
- Join
Status Type - What has happened with the proccess when we joined on it
- Option
Tag - __wasi_option_t
- Preopentype
- Identifiers for preopened capabilities.
- Prestat
Enum - Proc
Spawn FdOp Name - Signal
- Snapshot0
Clockid - Identifiers for clocks, snapshot0 version.
- Snapshot0
Whence - Sock
Proto - Sockoption
- Sockstatus
- Socktype
- Stdio
Mode - Streamsecurity
- Timeout
- Wasm
Value Type - 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 ofdirent
struct. - DlHandle
- Event
FdFlags - Fd
- A file descriptor handle.
- File
Delta - 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
- Lookup
Flags - Pid
- RiFlags
- RoFlags
- SdFlags
- SiFlags
- Size
- Type names used by low-level WASI interfaces. An array size.
- Snapshot0
Linkcount - 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§
- Event
Union - The contents of an
event
. - Join
Status Union - Snapshot0
Subscription Union - The contents of a
subscription
, snapshot0 version. - Subscription
Union - The contents of a
subscription
.