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