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