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