svn commit: r187823 - head/lib/libc/stdio
Tom Rhodes
trhodes at FreeBSD.org
Wed Jan 28 06:38:42 PST 2009
Author: trhodes
Date: Wed Jan 28 14:38:41 2009
New Revision: 187823
URL: http://svn.freebsd.org/changeset/base/187823
Log:
Better wording for clearing EOF indicator.
Submitted by: keramida and jhb
Modified:
head/lib/libc/stdio/ferror.3
Modified: head/lib/libc/stdio/ferror.3
==============================================================================
--- head/lib/libc/stdio/ferror.3 Wed Jan 28 13:39:01 2009 (r187822)
+++ head/lib/libc/stdio/ferror.3 Wed Jan 28 14:38:41 2009 (r187823)
@@ -77,6 +77,10 @@ The function
tests the end-of-file indicator for the stream pointed to by
.Fa stream ,
returning non-zero if it is set.
+The end-of-file indicator may be cleared by explicitly calling
+.Fn clearerr ,
+or as a side-effect of other operations, e.g.\&
+.Fn fseek .
.Pp
The function
.Fn ferror
More information about the svn-src-all
mailing list