</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true if end of file has been reached else false.</dd></dl>
<p>Warning: An empty file returns false before the first read.</p>
<p>Moral: <a class="el" href="classios.html#a7aa5ea2f670d64eb3dcb3b62eddd576c">eof()</a> is only useful in combination with <a class="el" href="classios.html#a15269e67d05d4fe83a6cf344d542f8ae">fail()</a>, to find out whether EOF was the cause for failure </p>

</div>
</div>
<a id="a15269e67d05d4fe83a6c