Originální popis anglicky:
isatty - does this descriptor refer to a terminal
Návod, kniha: Linux Programmer's Manual
#include <unistd.h>
int isatty(int desc);
returns 1 if
desc is an open descriptor connected to a terminal and 0
else.
SVID, AT&T, X/OPEN, BSD 4.3
fstat(2),
ttyname(3)