home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / smallc21 / smc21lib.lbr / FERROR.C < prev    next >
Encoding:
C/C++ Source or Header  |  1985-04-01  |  256 b   |  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.