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