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