Skip to main content

is_stdin

Function is_stdin 

Source
pub fn is_stdin(path: &str) -> bool
Expand description

Check if a path string indicates stdin.

Recognizes POSIX - convention and Linux device paths: -, /dev/stdin, /dev/fd/0, /proc/self/fd/0