Index: trunk/src/io/c_stream.cc
===================================================================
--- trunk/src/io/c_stream.cc	(revision 442)
+++ trunk/src/io/c_stream.cc	(revision 484)
@@ -93,2 +93,10 @@
 	}
 }
+
+bool nv::c_stream::eof()
+{
+	if ( m_file != nullptr )
+	{
+		return ::feof( reinterpret_cast<FILE*>( m_file ) );
+	}
+}
