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