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