*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> isatty (3)              
Title
Content
Arch
Section
 

ISATTY(3)

Contents


NAME    [Toc]    [Back]

       isatty - does this descriptor refer to a terminal

SYNOPSIS    [Toc]    [Back]

       #include <unistd.h>

       int isatty ( int desc );

DESCRIPTION    [Toc]    [Back]

       returns	1  if desc is an open descriptor connected to a terminal and 0
       else.

CONFORMING TO    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
       fstat(2), ttyname(3)



Linux				  1995-04-20			     ISATTY(3)
[ Back ]
 Similar pages
Name OS Title
ttyslot OpenBSD get name of associated terminal (tty) from file descriptor
ttyname_r OpenBSD get name of associated terminal (tty) from file descriptor
ttyname OpenBSD get name of associated terminal (tty) from file descriptor
isatty OpenBSD get name of associated terminal (tty) from file descriptor
ttyslot NetBSD get name of associated terminal (tty) from file descriptor
isatty NetBSD get name of associated terminal (tty) from file descriptor
ttyname NetBSD get name of associated terminal (tty) from file descriptor
isatty FreeBSD get name of associated terminal (tty) from file descriptor
ttyname FreeBSD get name of associated terminal (tty) from file descriptor
ttyslot FreeBSD get name of associated terminal (tty) from file descriptor
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service