scc

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

clearerr.c (98B)


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