summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2009-01-28 01:11:20 +0000
committertrhodes <trhodes@FreeBSD.org>2009-01-28 01:11:20 +0000
commit0ae48d48ab38ccf64f5cda7e2bc3a30aa4b7c4c2 (patch)
tree0504f555e63ac47c6955ce0ddd51c1cd8f9a525c /lib
parent76e17e88af362bc96330cd0492683a4a516e8265 (diff)
downloadFreeBSD-src-0ae48d48ab38ccf64f5cda7e2bc3a30aa4b7c4c2.zip
FreeBSD-src-0ae48d48ab38ccf64f5cda7e2bc3a30aa4b7c4c2.tar.gz
Remove comment about clearerr() being the only method of clearing
the EOF indicator, fseek() may also be used for this. Bump document date. PR: 76333 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/ferror.34
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3
index d7daef3..7c6ae9e 100644
--- a/lib/libc/stdio/ferror.3
+++ b/lib/libc/stdio/ferror.3
@@ -32,7 +32,7 @@
.\" @(#)ferror.3 8.2 (Berkeley) 4/19/94
.\" $FreeBSD$
.\"
-.Dd January 10, 2003
+.Dd January 27, 2009
.Dt FERROR 3
.Os
.Sh NAME
@@ -77,8 +77,6 @@ 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 can only be cleared by the function
-.Fn clearerr .
.Pp
The function
.Fn ferror
OpenPOWER on IntegriCloud