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