Filetype
WASI Preview1 type $filetype
The type of a file descriptor or file.
TAG: u8
Definition:
(typename $filetype
(enum (@witx tag u8)
;;; The type of the file descriptor or file is unknown or is different from any of the other types specified.
$unknown
;;; The file descriptor or file refers to a block device inode.
$block_device
;;; The file descriptor or file refers to a character device inode.
$character_device
;;; The file descriptor or file refers to a directory inode.
$directory
;;; The file descriptor or file refers to a regular file inode.
$regular_file
;;; The file descriptor or file refers to a datagram socket.
$socket_dgram
;;; The file descriptor or file refers to a byte-stream socket.
$socket_stream
;;; The file refers to a symbolic link inode.
$symbolic_link
)
)
Content copied to clipboard
Entries
Link copied to clipboard
The file descriptor or file refers to a block device inode.
Link copied to clipboard
The file descriptor or file refers to a character device inode.
Link copied to clipboard
The file descriptor or file refers to a regular file inode.
Link copied to clipboard
The file descriptor or file refers to a datagram socket.
Link copied to clipboard
The file descriptor or file refers to a byte-stream socket.
Link copied to clipboard
The file refers to a symbolic link inode.