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