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