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