Top index Wirbel home

fs::is_chardev

is_chardev(path) - check if path exists and is a character device node

is_chardev(path) returns true if path points an existing character device node. If path is a symbolic link, it will be followed.

See also

is_blockdev, is_directory, is_fifo, is_file, is_socket, is_symlink