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