home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
SMALL_C
/
ISCONS.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
256b
|
10 lines
#include stdio.h
#include clib.def
extern int Udevice[];
/*
** Determine if fd is the console.
*/
iscons(fd) int fd; {
return (Udevice[fd] == CONSOL);
}