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