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