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