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