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