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