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