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