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