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