DescriptorType

The type of a filesystem object referenced by a descriptor.

Note: This was called filetype in earlier versions of WASI.

Entries

Link copied to clipboard

The type of the descriptor or file is unknown or is different from any of the other types specified.

Link copied to clipboard

The descriptor refers to a block device inode.

Link copied to clipboard

The descriptor refers to a character device inode.

Link copied to clipboard

The descriptor refers to a directory inode.

Link copied to clipboard

The descriptor refers to a named pipe.

Link copied to clipboard

The file refers to a symbolic link inode.

Link copied to clipboard

The descriptor refers to a regular file inode.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard