9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
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 }