ref: 563eadc3dd2e815868ba9c7fb93a81b2e0309072 dir: /lib/c/feof.c/
#include <stdio.h> #undef feof int feof(FILE *fp) { return fp->flags & _IOEOF; }