INtime SDK Help
eof

Checks whether the file's current file pointer is EOF.

#include <io.h>

int eof (int handle);

Parameters

handle
Descriptor referring to an open file.

Return Values

1; current position is end-of-file.
0; current position is not end-of-file.
Success.
-1; the function sets errno to EBADF, indicating an invalid file descriptor.
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/io.h io.h clib.lib

See Also

clearerr, feof, ferror, perror