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