Loading...
stdio/FreeBSD/ferror.3 Libc-1725.40.4 Libc-320
--- Libc/Libc-1725.40.4/stdio/FreeBSD/ferror.3
+++ Libc/Libc-320/stdio/FreeBSD/ferror.3
@@ -13,6 +13,10 @@
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"	This product includes software developed by the University of
+.\"	California, Berkeley and its contributors.
 .\" 4. Neither the name of the University nor the names of its contributors
 .\"    may be used to endorse or promote products derived from this software
 .\"    without specific prior written permission.
@@ -30,9 +34,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)ferror.3	8.2 (Berkeley) 4/19/94
-.\" $FreeBSD: src/lib/libc/stdio/ferror.3,v 1.13 2009/01/28 14:38:41 trhodes Exp $
+.\" $FreeBSD: src/lib/libc/stdio/ferror.3,v 1.9 2003/02/23 01:47:47 ru Exp $
 .\"
-.Dd January 28, 2009
+.Dd January 10, 2003
 .Dt FERROR 3
 .Os
 .Sh NAME
@@ -77,16 +81,17 @@
 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 .
+The end-of-file indicator can only be cleared by the function
+.Fn clearerr .
 .Pp
 The function
 .Fn ferror
 tests the error indicator for the stream pointed to by
 .Fa stream ,
 returning non-zero if it is set.
+The error indicator can only be reset by the
+.Fn clearerr
+function.
 .Pp
 The function
 .Fn fileno