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