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