Other items inposish::io
pub fn isatty<Fd: AsFd>(fd: &Fd) -> bool
isatty(fd)—Tests whether a file descriptor refers to a terminal.
isatty(fd)