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