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