isatty function
Return 1 if FD is a valid descriptor associated with a terminal, zero if not.
Implementation
int isatty(
int fd,
) {
_isatty ??= Libc()
.dylib
.lookupFunction<ffi.Int32 Function(ffi.Int32), _dart_isatty>('isatty');
return _isatty!(
fd,
);
}