nix::unistd

Function isatty

Source
pub fn isatty(fd: RawFd) -> Result<bool>
Expand description

Determines if the file descriptor refers to a valid terminal type device.