unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (Debian-5.0)
Page:
Section:
Apropos / Subsearch:
optional field

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



NAME
       isatty - does this descriptor refer to a terminal

SYNOPSIS
       #include <&lt;unistd.h>&gt;

       int isatty(int desc);

DESCRIPTION
       returns  1  if  desc is an open file descriptor connected to a terminal
       and 0 otherwise.

CONFORMING TO
       SVr4, 4.3BSD, POSIX.1-2001.

SEE ALSO
       fstat(2), ttyname(3)

COLOPHON
       This page is part of release 3.05 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/.



Linux                             1995-04-20                         ISATTY(3)