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