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