X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffeof.c;h=93203d0dff0e14cd6e97f1c56f5cd3f3f560be48;hb=8c8750c2826684c2420571a8007b9606f72c9040;hp=7467465fe9298d723cc61a46e1cc668e1a1cc57b;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec;p=pdclib diff --git a/functions/stdio/feof.c b/functions/stdio/feof.c index 7467465..93203d0 100644 --- a/functions/stdio/feof.c +++ b/functions/stdio/feof.c @@ -5,4 +5,12 @@ // This code is Public Domain. Use, modify, and redistribute at will. // ---------------------------------------------------------------------------- -int feof( FILE * stream ) { /* TODO */ }; +#ifndef __FILE_H +#define __FILE_H __FILE_H +#include <__FILE.h> +#endif // __FILE_H + +int feof( FILE * fh ) +{ + return fh->EOFIndicator; +}