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