Rusty WASI type definitions based on the spec
Identifier for a device containing a file system. Can be used in combination with
A reference to the offset of a directory entry.
A directory entry.
A file descriptor number.
As in POSIX, 0, 1, and 2 are stdin, stdout, and stderr, respectively.
File descriptors are not guaranteed to be contiguous or allocated in ascending order.
Information about a file descriptor may be obtained through
File serial number that is unique within its file system.
A region of memory for scatter/gather reads.
Information about a preopened resource.
Timestamp in nanoseconds.
File or memory access pattern advisory information.
Identifiers for clocks.
Error codes returned by functions.
The state of the file descriptor subscribed to with
The type of a file descriptor or file.
The position relative to which to set the offset of the file descriptor.
Relative offset within a file.
Number of hard links to an inode.