diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-01-29 16:37:17 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-01-29 16:37:17 +0000 |
commit | e49a05545c8c633baeea5eae42a994b15353b629 (patch) | |
tree | 4f09ea7ca8f57bb8c50011b05e7c5478cd30dd69 /lib/libc | |
parent | cf5d81ad29ee9b4a99507b1bc425e1189eada280 (diff) |
from Yoshihiko Sarumaru, freebsd pr #76333: fseek(3) can clear EOF too;
ok millert
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdio/ferror.3 | 6 |
1 files 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 |