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