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