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