End of file (commonly abbreviated EOF) is a condition in a computer operating system where no more data can be read from a data source.
From Wikipedia:
End of file (commonly abbreviated EOF) is a condition in a computer operating system where no more data can be read from a data source. The data source is usually called a file or stream.
EOF
is also a macro defined in the <stdio.h>
header of the C standard library. This macro:
expands to an integer constant expression, with type int and a negative value, that is returned by several functions to indicate end-of-file, that is, no more input from a stream;
For more information: