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