◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Include: <io.h>, <errno.h> Syntax: int eof( int handle ); Returns: 1 if the current position is the end-of-file and 0 if not, or -1 to indicate an error. errno: EBADF See also: clearerr, feof, ferror, perror -♦-