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