From e49a05545c8c633baeea5eae42a994b15353b629 Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Thu, 29 Jan 2009 16:37:17 +0000 Subject: from Yoshihiko Sarumaru, freebsd pr #76333: fseek(3) can clear EOF too; ok millert --- lib/libc/stdio/ferror.3 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3 index 26ef6dd9b4c..f4466937555 100644 --- a/lib/libc/stdio/ferror.3 +++ b/lib/libc/stdio/ferror.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ferror.3,v 1.7 2007/05/31 19:19:31 jmc Exp $ +.\" $OpenBSD: ferror.3,v 1.8 2009/01/29 16:37:16 jmc Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: January 29 2009 $ .Dt FERROR 3 .Os .Sh NAME @@ -61,8 +61,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 -- cgit v1.2.3