SilverScreen Solid Modeler

ferror

ferror

Previous topic Next topic  

ferror

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

int ferror( FILE *fp )

 

FILE *fp;         /* stream pointer */

 

 

 




Synopsis

#include "math.h"

 

The ferror function tests then error indicator for stream .

 

 

Parameters

fp is an open stream.

 

 

Return Value

ferror returns a non-zero value if the error indicator for stream is set.

 

 

Comments

The end-of-file and error indicators for a stream may be cleared by clearerr .

 

 

See Also

feof , clearerr