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