WasiFileType Enum
The type of a file (filetype).
public enum WasiFileType : byteFields
| Name | Value | Description |
|---|---|---|
Unknown | 0 | The type of the file is unknown or is not one of the others. |
BlockDevice | 1 | A block device. |
CharacterDevice | 2 | A character device, such as a terminal or a standard stream. |
Directory | 3 | A directory. |
RegularFile | 4 | A regular file. |
SocketDatagram | 5 | A datagram socket. |
SocketStream | 6 | A byte-stream socket. |
SymbolicLink | 7 | A symbolic link. |