home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / cpm / utils / s / smc21lib.lzh / FERROR.C < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-25  |  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.