Seth Woolley's Man Viewer

isatty(3) - isatty, isatty - does this descriptor refer to a terminal - man 3 isatty

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

ISATTY(3)                  Linux Programmer's Manual                 ISATTY(3)



NAME
       isatty - does this descriptor refer to a terminal

SYNOPSIS
       #include <unistd.h>

       int isatty(int desc);

DESCRIPTION
       returns  1  if(3,n) desc is an open(2,3,n) descriptor connected to a terminal and 0
       else.

CONFORMING TO
       SVID, AT&T, X/OPEN, BSD 4.3

SEE ALSO
       fstat(2), ttyname(3)



Linux                             1995-04-20                         ISATTY(3)

References for this manual (incoming links)