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