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