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