Filetype

The type of a file descriptor or file.

Entries

Link copied to clipboard

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

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 directory 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.

Types

Link copied to clipboard

Properties

Link copied to clipboard
val id: Int

Functions

Link copied to clipboard
fun valueOf(value: String): Filetype

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.