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