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