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