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