Provided by: manpages-dev_2.77-1_all
isatty - does this descriptor refer to a terminal
int isatty(int desc);
returns 1 if desc is an open file descriptor connected to a terminal
and 0 otherwise.
SVr4, 4.3BSD, POSIX.1-2001.
This page is part of release 2.77 of the Linux man-pages project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.