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