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