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