Open System Services Library Calls Reference Manual (G06.27+, H06.04+)
OSS Library Calls (a - d) clearerr(3)
NAME
clearerr - Clears indicators on a stream
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: /G/system/zdllnnn/zcrtldll
SYNOPSIS
#include <stdio.h>
void clearerr(
FILE *stream);
PARAMETERS
stream Specifies the input or output stream to be cleared.
DESCRIPTION
The clearerr() function resets the error indicator and the EOF indicator for the stream specified
by the stream parameter.
RETURN VALUES
The clearerr() function returns no value.
RELATED INFORMATION
Functions: open(2), fopen(3), feof(3), fileno(3), ferror(3).
527187-004 Hewlett-Packard Company 1−45