home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
lambda
/
soundpot
/
p
/
sclib2.lbr
/
ISATTY.CZ
/
ISATTY.C
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-10-25
|
256 b
|
12 lines
/*
** Return "true" if fd is a device, else "false"
*/
#include <stdio.h>
isatty(fd) int fd; {
if(fd >255)
return(FALSE);
else
return(TRUE);
}