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