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