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