From 581eefbc7f0bf218da6c930b91671b540e60c30e Mon Sep 17 00:00:00 2001 From: trhodes Date: Wed, 28 Jan 2009 14:38:41 +0000 Subject: Better wording for clearing EOF indicator. Submitted by: keramida and jhb --- lib/libc/stdio/ferror.3 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/libc/stdio/ferror.3') diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3 index d3c89bc..043b688 100644 --- a/lib/libc/stdio/ferror.3 +++ b/lib/libc/stdio/ferror.3 @@ -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 -- cgit v1.1