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