End of File

End of File

Mit EOF (End of File) wird das Ende einer Quelle signalisiert, welche in der Regel eine Datei oder ein Datenstrom ist.

In ISO-C können Datei- und IO-Operationen einen Wert zurückgeben, der dem symbolischen EOF entspricht und damit anzeigt, dass das Ende erreicht wurde. Der tatsächliche Wert beträgt häufig −1, dies ist allerdings systemabhängig.

In Unix kann ein EOF über die interaktive Shell (Unix-Shell) durch Strg+D produziert werden (konventioneller Standard). Strg+D entspricht dem ASCII-Steuerzeichen End of Transmission 0x04. In Microsofts DOS wird es mittels Strg+Z erzeugt. Historisch fügte Microsoft DOS das ASCII-Steuerzeichen SUB 0x1A (eben Strg-Z) tatsächlich an das Ende einer Textdatei. Die Kompatibilität zu älteren Systemen (z. B. CP/M) wäre sonst nicht zu gewährleisten gewesen.

In der Job Control Language von Großrechnerumgebungen werden Eingaben über den Standardinput SYSIN mit "/*" und das Jobende mit "/&" abgeschlossen.


Wikimedia Foundation.

Игры ⚽ Нужна курсовая?

Schlagen Sie auch in anderen Wörterbüchern nach:

  • End-Of-File — En informatique, end of file (fin du fichier), couramment abrégé en EOF, est une condition dans un système d exploitation informatique indiquant qu aucune donnée supplémentaire ne peut être lue depuis une source de données. La source de données… …   Wikipédia en Français

  • End of File —   [Abk. EOF, dt. Dateiende], Dateiendezeichen …   Universal-Lexikon

  • End-of-file — In computing, 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.In the C Standard Library, file access and… …   Wikipedia

  • End-of-file — Pour les articles homonymes, voir EOF. End of file (littéralement « fin de fichier » en anglais), couramment abrégé en EOF, est une condition dans un système d exploitation informatique indiquant qu aucune donnée supplémentaire ne peut… …   Wikipédia en Français

  • end-of-file —    Abbreviated EOF. A special code placed after the last byte in a file that indicates to the operating system that no more data follows.    An end of file code is needed because disk space is assigned to a file in blocks, and the file may not… …   Dictionary of networking

  • end of file — failo pabaiga statusas T sritis informatika apibrėžtis Funkcija, kuria nustatoma, ar pasiekta failo pabaiga. Programavimo kalbose dažniausiai žymima eof. atitikmenys: angl. end of file ryšiai: sinonimas – rinkmenos pabaiga …   Enciklopedinis kompiuterijos žodynas

  • end of file — failo pabaiga statusas T sritis informatika apibrėžtis Ženklas, nurodantis teksto failo pabaigą. Jo ASCII kodas: 26 (dešimtainis) ir 1A (šešioliktainis). atitikmenys: angl. end of file ryšiai: sinonimas – rinkmenos pabaiga …   Enciklopedinis kompiuterijos žodynas

  • end-of-file — /end euhv fuyl /, n. Computers. See EOF * * * …   Universalium

  • end-of-file — /end euhv fuyl /, n. Computers. See EOF …   Useful english dictionary

  • End-of-file — …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”