summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2009-01-28 14:38:41 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2009-01-28 14:38:41 +0000
commitf53807d21895b48ab1a470a279bb6881e1da66c0 (patch)
tree39dbc214f015565522ed3c20f56d68284356a8a6 /lib/libc/stdio
parent6e152a7539920b4b8077b33a2508ab3a70ffc4ea (diff)
Notes
Diffstat (limited to 'lib/libc/stdio')
-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 d3c89bc7494c..043b6883ac67 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