| Linux / Unix Command: isatty |
NAME
isatty - does this descriptor refer to a terminalSYNOPSIS
#include <unistd.h> int isatty(int desc);
DESCRIPTION
returns 1 if desc is an open descriptor connected to a terminal and 0 else.CONFORMING TO
SVID, AT&T, X/OPEN, BSD 4.3SEE ALSO
fstat(2), ttyname(3)
Important: Use the man command (% man) to see how a command is used on your particular computer.

