Top index Wirbel home

fs::is_socket

is_socket(path) - check if path exists and is a unix socket

is_socket(path) returns true if path points an existing unix socket. If path is a symbolic link, it will be followed.

See also

is_blockdev, is_chardev, is_directory, is_fifo, is_file, is_symlink