Crossware

Table of Contents        Previous topic       Next topic       

C LIBRARY FUNCTIONS->Detailed Descriptions->clearerr()

Summary

#include <stdio.h>
    
void clearerr(FILE *stream);    Clear error indicator for stream


Parameter

stream    Pointer to FILE structure


Description

This function resets to 0 the error indicator and end-of-file indicator for the specific stream.  Error indicators are not automatically cleared and once the error indicator is set, operations on that stream will continue to return an error value until clearerr() is called.


Return Value

There is no return value.