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