X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffeof.c;h=dab3b7e23f6a7aa4d18d507a1738050f013eb443;hp=dd19dcb4157d6a5f6837f49d7033667a75770ec9;hb=1d9d92ba957a0b8307c9a65c35867fde68e6533b;hpb=0a5395faab237ba9008352b0f4bee9659bbd3d5f diff --git a/functions/stdio/feof.c b/functions/stdio/feof.c index dd19dcb..dab3b7e 100644 --- a/functions/stdio/feof.c +++ b/functions/stdio/feof.c @@ -1,14 +1,16 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- +/* ---------------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------------- + * Public Domain C Library - http://pdclib.sourceforge.net + * 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 -/* PDPC code - unreviewed +int feof( FILE * fh ) { - return (stream->eofInd); + return fh->EOFIndicator; } -*/