]> pd.if.org Git - pdclib/blobdiff - functions/stdio/feof.c
Reviewed / implemented.
[pdclib] / functions / stdio / feof.c
index dd19dcb4157d6a5f6837f49d7033667a75770ec9..93203d0dff0e14cd6e97f1c56f5cd3f3f560be48 100644 (file)
@@ -5,10 +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
 
-/* PDPC code - unreviewed
+int feof( FILE * fh )
 {
-    return (stream->eofInd);
+    return fh->EOFIndicator;
 }
-*/