redhat man page for isatty

Query: isatty

OS: redhat

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 desc is an open 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)
Related Man Pages
isatty(3c) - opensolaris
isatty(3p) - posix
isatty(3) - xfree86
isatty(3) - x11r4
isatty(3) - plan9
Similar Topics in the Unix Linux Community
help with isatty command in C