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