home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / S / SMC21LIB.LZH / FERROR.C < prev    next >
Text File  |  2000-06-30  |  256b  |  14 lines

  1.  
  2. #define NOCCARGC
  3. #include stdio.h
  4. #include clib.def
  5. /*
  6. ** Write buffer for fd if it has changes.
  7. */
  8. extern int _status[]; /*error in DDJ*/
  9. ferror(fd) int fd; {
  10.   return(_status[fd] & ERRBIT);
  11.   }
  12.  
  13.  
  14.