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