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