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