Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ clearerr(3) — Digital UNIX 4.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

open(2)

fopen(3)

feof(3)

fileno(3)

ferror(3)

standards(5)

clearerr(3)  —  Subroutines

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 standards as follows:

clearerr():  XPG4, XPG4−UNIX

Refer to the standards(5) reference page for more information about industry standards and associated tags. 

PARAMETERS

streamSpecifies 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. 

NOTES

[Digital]  The clearerr() function is supported for multithreaded applications. 

RETURN VALUES

The clearerr() function returns no value. 

RELATED INFORMATION

Functions: open(2), fopen(3), feof(3), fileno(3), ferror(3)

Standards: standards(5)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026