Function isatty

Source
pub fn isatty<Fd: AsFd>(fd: Fd) -> Result<bool>
Available on crate feature fs only.
Expand description

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