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