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