EOF

Technology & Computing abbreviation · Programming

EOF
Stands forEnd of file
CategoriesTechnology & Computing

EOF stands for End of file, a programming abbreviation.

A condition, and in some languages a special value, signaling that no more data can be read from a file or input stream. In Unix terminals, pressing Ctrl+D sends EOF to end input; on Windows it is Ctrl+Z.

Example: The parser threw "unexpected EOF" because the JSON file was cut off mid-object.

Usage notes

In C, getchar() returns the constant EOF, usually -1, when input ends. Shell scripts often use EOF as the closing marker of a here document, which feeds several lines of text to a command. "Unexpected EOF" errors usually point to truncated data or a missing closing bracket or quote.

More programming abbreviations

  • DSA – Data structures and algorithms
  • DSL – Domain-specific language
  • DTO – Data transfer object
  • DX – Developer experience
  • E2E – End-to-end (testing)
  • EDA – Event-driven architecture
  • EOL – End of line
  • ESB – Enterprise service bus
  • ESM – ECMAScript modules
  • FFI – Foreign function interface
  • FIFO – First in, first out
  • FORTRAN – Formula Translation

See all 154 programming abbreviations →