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