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