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