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