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