#include <unistd.h> int isatty(int fd);
Tells if the file descriptor refers to a terminal device or not.
Nonzero if fd is a terminal device, zero otherwise.
not ANSI, POSIX
if (isatty(1)) fflush(stdout);
Go to the first, previous, next, last section, table of contents.