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