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