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