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