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