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