Defined in rt_sys.h, this function determines
if a file handle identifies a terminal.
Syntax
int _sys_istty(FILEHANDLE fh);
Usage
When a file is connected to a terminal device, this function
is used to provide unbuffered behavior by default (in the absence
of a call to set(v)buf) and to prohibit seeking.