pub fn isatty(fd: i32) -> Result<bool, Errno>