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