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