ref: 5eb2945975eab587998f04bf277ec09fcfcec0e1 dir: /lib/c/clearerr.c/
#include <stdio.h> #undef clearerr void clearerr(FILE *fp) { fp->flags &= ~(_IOERR | _IOEOF); }