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