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