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