Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 14:38:41 +0000 (UTC)
From:      Tom Rhodes <trhodes@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187823 - head/lib/libc/stdio
Message-ID:  <200901281438.n0SEcf9a023128@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trhodes
Date: Wed Jan 28 14:38:41 2009
New Revision: 187823
URL: http://svn.freebsd.org/changeset/base/187823

Log:
  Better wording for clearing EOF indicator.
  
  Submitted by:	keramida and jhb

Modified:
  head/lib/libc/stdio/ferror.3

Modified: head/lib/libc/stdio/ferror.3
==============================================================================
--- head/lib/libc/stdio/ferror.3	Wed Jan 28 13:39:01 2009	(r187822)
+++ head/lib/libc/stdio/ferror.3	Wed Jan 28 14:38:41 2009	(r187823)
@@ -77,6 +77,10 @@ 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 may be cleared by explicitly calling
+.Fn clearerr ,
+or as a side-effect of other operations, e.g.\&
+.Fn fseek .
 .Pp
 The function
 .Fn ferror



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901281438.n0SEcf9a023128>