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