:man| Alphabetical   Categories   About us 
 
ISATTY (3) | C library functions | Unix Manual Pages | :man

NAME

isatty - does this descriptor refer to a terminal

CONTENTS

Synopsis
Description

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)


Share this page

     Follow us

Facebook Twitter Google+ LinkedIn


 
Created by Blin Media, 2008-2013