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