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