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