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