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