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