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