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