summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2009-01-28 14:38:41 +0000
committertrhodes <trhodes@FreeBSD.org>2009-01-28 14:38:41 +0000
commit581eefbc7f0bf218da6c930b91671b540e60c30e (patch)
tree39dbc214f015565522ed3c20f56d68284356a8a6 /lib
parent5c21ddfc6f31296847263dad6030b80e4b2c641a (diff)
downloadFreeBSD-src-581eefbc7f0bf218da6c930b91671b540e60c30e.zip
FreeBSD-src-581eefbc7f0bf218da6c930b91671b540e60c30e.tar.gz
Better wording for clearing EOF indicator.
Submitted by: keramida and jhb
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/ferror.34
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3
index d3c89bc..043b688 100644
--- a/lib/libc/stdio/ferror.3
+++ b/lib/libc/stdio/ferror.3
@@ -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
OpenPOWER on IntegriCloud