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