Manual Page Result
0
Command: clearerr | Section: 3 | Source: Digital UNIX | File: clearerr.3.gz
clearerr(3) Library Functions Manual clearerr(3)
NAME
clearerr - Clears indicators on a stream
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <stdio.h>
void clearerr(
FILE *stream);
STANDARDS
Interfaces documented on this reference page conform to industry stan-
dards as follows:
clearerr(): XPG4, XPG4-UNIX
Refer to the standards(5) reference page for more information about in-
dustry standards and associated tags.
PARAMETERS
Specifies the input or output stream to be cleared.
DESCRIPTION
The clearerr() function resets the error indicator and the EOF indica-
tor for the stream specified by the stream parameter.
NOTES
[Digital] The clearerr() function is supported for multithreaded ap-
plications.
RETURN VALUES
The clearerr() function returns no value.
RELATED INFORMATION
Functions: open(2), fopen(3), feof(3), fileno(3), ferror(3)
Standards: standards(5) delim off
clearerr(3)