From: simonmar Date: Sun, 30 Jan 2000 10:08:27 +0000 (+0000) Subject: [project @ 2000-01-30 10:08:27 by simonmar] X-Git-Tag: Approximately_9120_patches~5176 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=3427092ef9719619eb6137bc9b7b4bddcb69b2f4;p=ghc-hetmet.git [project @ 2000-01-30 10:08:27 by simonmar] comment fixup --- diff --git a/ghc/lib/std/PrelHandle.lhs b/ghc/lib/std/PrelHandle.lhs index a1faf99..c745b4b 100644 --- a/ghc/lib/std/PrelHandle.lhs +++ b/ghc/lib/std/PrelHandle.lhs @@ -388,7 +388,7 @@ sent to the operating system are flushed as for $flush$. %********************************************************* %* * -\subsection[EOF]{Detecting the End of Input} +\subsection[FileSize]{Detecting the size of a file} %* * %********************************************************* @@ -430,6 +430,13 @@ hFileSize handle = #endif \end{code} +%********************************************************* +%* * +\subsection[EOF]{Detecting the End of Input} +%* * +%********************************************************* + + For a readable handle {\em hdl}, @hIsEOF hdl@ returns @True@ if no further input can be taken from @hdl@ or for a physical file, if the current I/O position is equal to the length of