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