SilverScreen Solid Modeler

feof

feof

Previous topic Next topic  

feof

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

int feof( FILE *fp )

 

FILE *fp;       /* stream pointer */

 

 

 




Synopsis

#include "stdio.h"

 

The feof function tests the end-of-file indicator for stream .

 

 

Parameters

fp is an open stream.

 

 

Return Value

feof returns a non-zero value if stream is at end-of-file; and 0 otherwise.

 

 

Comments

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

 

 

See Also

ferror , clearerr