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 }