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