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