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.