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