EOF
A mark the computer uses to show the end of a file or data
- symbol
- Specialized
:
EOF
- The program stops reading input when it reaches EOF.
Examples
-
The program stopped reading the file at EOF.
-
The file transfer completed successfully after the system detected EOF.
-
The program stops reading input when it reaches EOF.
-
If you forget to add EOF, the script may not terminate correctly.
-
Make sure to check for EOF when processing data.
-
If you forget to add EOF, the script may not terminate correctly.
-
The file transfer completed successfully after the system detected EOF.
Surface Forms
EOF main
Etymology
The word EOF comes from the first letters of the phrase 'end of file', with the parts end and file. It works as a small signal that tells a program to 'stop reading' because it has reached the end of the data.