home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
SMALL_C
/
ISATTY.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
256b
|
8 lines
extern int Udevice[];
/*
** Return "true" if fd is a device, else "false"
*/
isatty(fd) int fd; {
return (Udevice[fd]);
}