pub fn isatty<Fd: AsFd>(fd: Fd) -> Result<bool>
fs
Determines if the file descriptor refers to a valid terminal type device.