]> pd.if.org Git - pdclib/blobdiff - functions/stdio/feof.c
Re-import from Subversion.
[pdclib] / functions / stdio / feof.c
index dd19dcb4157d6a5f6837f49d7033667a75770ec9..dab3b7e23f6a7aa4d18d507a1738050f013eb443 100644 (file)
@@ -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;
 }
-*/