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