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