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