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