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