scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

clearerr.c (99B)


      1 #include <stdio.h>
      2 
      3 #undef clearerr
      4 
      5 void
      6 clearerr(FILE *fp)
      7 {
      8 	fp->flags &= ~(_IOERR | _IOEOF);
      9 }