home *** CD-ROM | disk | FTP | other *** search
/ The Programmer Disk / The Programmer Disk (Microforum).iso / xpro / c / pro19 / isatty.c < prev    next >
Encoding:
C/C++ Source or Header  |  1987-10-04  |  256 b   |  8 lines

  1. extern int Udevice[];
  2. /*
  3. ** Return "true" if fd is a device, else "false"
  4. */
  5. isatty(fd) int fd; {
  6.   return (Udevice[fd]);
  7.   }
  8.