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