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