From d568fa54dbafa992ebdb5e912b8f5f790f9094bd Mon Sep 17 00:00:00 2001 From: Tom Rhodes Date: Wed, 28 Jan 2009 01:11:20 +0000 Subject: [PATCH] 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 --- lib/libc/stdio/ferror.3 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3 index d7daef39e086..7c6ae9e93a65 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