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