Namensräume
Varianten
Aktionen

File input/output

Aus cppreference.com
< c

 
 
File input/output
Funktionen
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Dateizugriff
Original:
File access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Direkte Eingabe / Ausgabe
Original:
Direct input/output
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
fread
fwrite
Unformatierte Eingang / Ausgang
Original:
Unformatted input/output
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Formatierte Eingabe / Ausgabe
Original:
Formatted input/output
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Datei Positionierung
Original:
File positioning
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ftell
fgetpos
fseek
fsetpos
rewind
Fehlerbehandlung
Original:
Error handling
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
clearerr
feof
ferror
perror
Operationen auf Dateien
Original:
Operations on files
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
remove
rename
tmpfile
tmpnam
 
Die <stdio.h> Header bietet generische Dateioperation Unterstützung und Versorgung Funktionen mit engen Charakter Input / Output-Funktionen .
Original:
The <stdio.h> header provides generic file operation support and supplies functions with narrow character input/output capabilities.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Die <wchar.h> Header liefert Funktionen mit Wide-Character Input / Output-Funktionen .
Original:
The <wchar.h> header supplies functions with wide character input/output capabilities.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Inhaltsverzeichnis

[Bearbeiten] Funktionen

Dateizugriff
Original:
File access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
öffnet eine Datei
Original:
opens a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Öffnen einer vorhandenen Stream mit einem anderen Namen
Original:
open an existing stream with a different name
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
schließt eine Datei
Original:
closes a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
synchronisiert einen Ausgabe-Stream mit der eigentlichen Datei
Original:
synchronizes an output stream with the actual file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
schaltet ein Datei-Stream zwischen wide character I / O und engen Charakter I / O
Original:
switches a file stream between wide character I/O and narrow character I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
setzt den Puffer für einen Datei-Stream
Original:
sets the buffer for a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
setzt den Puffer und dessen Größe für eine Datei-Stream
Original:
sets the buffer and its size for a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Direkte Eingabe / Ausgabe
Original:
Direct input/output
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
liest aus einer Datei
Original:
reads from a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
eine Datei schreibt
Original:
writes to a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Unformatierte Eingang / Ausgang
Original:
Unformatted input/output
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Schmale Charakter
Original:
Narrow character
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bekommt einen Charakter aus einem Datei-Stream
Original:
gets a character from a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
erhält eine Zeichenkette aus einem Datei-Stream
Original:
gets a character string from a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Schreibt ein Zeichen in einem Datei-Stream
Original:
writes a character to a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
schreibt eine Zeichenkette in einer Datei-Stream
Original:
writes a character string to a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
liest ein Zeichen aus stdin
Original:
reads a character from stdin
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
liest eine Zeichenkette aus stdin
Original:
reads a character string from stdin
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Schreibt ein Zeichen in stdout
Original:
writes a character to stdout
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
schreibt eine Zeichenkette stdout
Original:
writes a character string to stdout
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
setzt ein Zeichen zurück in ein Datei-Stream
Original:
puts a character back into a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Wide character
Original:
Wide character
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
erhält eine breite Zeichen aus einem Datei-Stream
Original:
gets a wide character from a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
erhält eine breite Zeichenfolge aus einem Datei-Stream
Original:
gets a wide string from a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
schreibt eine breite Zeichen in eine Datei-Stream
Original:
writes a wide character to a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
schreibt ein breites String in eine Datei-Stream
Original:
writes a wide string to a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
liest eine breite Zeichen aus stdin
Original:
reads a wide character from stdin
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
schreibt eine breite Zeichen stdout
Original:
writes a wide character to stdout
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
stellt eine breite Zeichen zurück in ein Datei-Stream
Original:
puts a wide character back into a file stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Formatierte Eingabe / Ausgabe
Original:
Formatted input/output
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Schmale Charakter
Original:
Narrow character
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
liest formatierten Eingaben von stdin, eine Datei-Strom oder einen Puffer
Original:
reads formatted input from stdin, a file stream or a buffer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
(C99)
(C99)
(C99)
liest formatierte Eingabe von stdin, ein Datei-Stream oder ein buffer
mit variabler Argumentliste
Original:
reads formatted input from stdin, a file stream or a buffer
using variable argument list
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Drucke formatiert Ausgabe an stdout, eine Datei-Strom oder einen Puffer
Original:
prints formatted output to stdout, a file stream or a buffer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Drucke formatierte Ausgabe auf stdout, ein Datei-Stream oder ein buffer
mit variabler Argumentliste
Original:
prints formatted output to stdout, a file stream or a buffer
using variable argument list
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Wide character
Original:
Wide character
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
liest formatierten breiten Zeicheneingabe von stdin, eine Datei-Strom oder einen Puffer
Original:
reads formatted wide character input from stdin, a file stream or a buffer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
liest formatierte breite Zeicheneingabe von stdin eine Datei stream
oder einen Puffer mit variabler Argumentliste
Original:
reads formatted wide character input from stdin, a file stream
or a buffer using variable argument list
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Drucke formatiert Breitzeichen Ausgang stdout, ein Datei-Stream oder einen Puffer
Original:
prints formatted wide character output to stdout, a file stream or a buffer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Drucke formatiert Breitzeichen Ausgang stdout eine Datei stream
oder einen Puffer mit variabler Argumentliste
Original:
prints formatted wide character output to stdout, a file stream
or a buffer using variable argument list
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Datei Positionierung
Original:
File positioning
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
liefert die aktuelle Position in der Datei-Anzeige
Original:
returns the current file position indicator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
erhält die Datei Stellungsanzeige
Original:
gets the file position indicator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
verschiebt die Datei Positionsanzeiger zu einer bestimmten Position in einer Datei
Original:
moves the file position indicator to a specific location in a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
verschiebt die Datei Positionsanzeiger zu einer bestimmten Position in einer Datei
Original:
moves the file position indicator to a specific location in a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
verschiebt die Datei Stellungsanzeige zum Anfang in einer Datei
Original:
moves the file position indicator to the beginning in a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Fehlerbehandlung
Original:
Error handling
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
löscht Fehler
Original:
clears errors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Prüfungen für die End-of-Datei
Original:
checks for the end-of-file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Prüfungen für eine Datei Fehler
Original:
checks for a file error
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
zeigt eine Zeichenfolge entspricht der aktuellen Fehler stderr
Original:
displays a character string corresponding of the current error to stderr
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
Operationen auf Dateien
Original:
Operations on files
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
löscht eine Datei
Original:
erases a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
benennt eine Datei
Original:
renames a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
liefert einen Zeiger auf eine temporäre Datei
Original:
returns a pointer to a temporary file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]
gibt einen eindeutigen Dateinamen
Original:
returns a unique filename
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]

[Bearbeiten] Types

Defined in header <stdio.h>
Type
Original:
Type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
FILE
Art, halten können alle erforderlichen Informationen, um eine CI / O-Stream steuern
Original:
type, capable of holding all information needed to control a C I/O stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
fpos_t
Typ, der fähig eindeutigen Spezifizieren einer Position in einem Bild
Original:
type, capable of uniquely specifying a position in a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Makros

Defined in header <stdio.h>
stdin
stdout
stderr
Ausdruck vom Typ FILE * mit dem Eingang stream
expression vom Typ FILE * mit dem Ausgang stream
expression vom Typ FILE * mit der Fehlerausgabe-Stream zugeordnet zugeordnet
Original:
expression of type FILE* associated with the input stream
expression of type FILE* associated with the output stream
expression of type FILE* associated with the error output stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Makro konstant)
EOF
Ganzzahlkonstantenausdruck vom Typ int und negativen Wert
Original:
integer constant expression of type int and negative value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Makro konstant)
FOPEN_MAX
Anzahl der Dateien, die gleichzeitig geöffnet sein können
Original:
number of files that can be open simultaneously
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Makro konstant)
FILENAME_MAX
Größe für ein Array von char die längste unterstützt Dateinamen zu halten benötigt
Original:
size needed for an array of char to hold the longest supported file name
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Makro konstant)
BUFSIZ
Größe des Puffers durch setbuf () verwendet
Original:
size of the buffer used by setbuf()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Makro konstant)
_IOFBF
_IOLBF
_IONBF
Argument setvbuf () für vollständig gepufferte I / O
argument um setvbuf () anzeigt zeilengepufferte I / O
argument um setvbuf () anzeigt, unbuffered I / O
Original:
argument to setvbuf() indicating fully buffered I/O
argument to setvbuf() indicating line buffered I/O
argument to setvbuf() indicating unbuffered I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Makro konstant)
SEEK_SET
SEEK_CUR
SEEK_END
Argument fseek () anzeigt, sucht ab Anfang des file
argument um fseek () anzeigt, sucht aus der aktuellen Datei position
argument um fseek () anzeigt, sucht ab Ende der Datei
Original:
argument to fseek() indicating seeking from beginning of the file
argument to fseek() indicating seeking from the current file position
argument to fseek() indicating seeking from end of the file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Makro konstant)
TMP_MAX
maximale Anzahl der eindeutigen Dateinamen, die von tmpnam () erzeugt werden kann
Original:
maximum number of unique filenames that can be generated by tmpnam()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Makro konstant)
L_tmpnam
Größe für ein Array von Zeichen benötigt, um das Ergebnis der tmpnam () zu halten
Original:
size needed for an array of char to hold the result of tmpnam()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Makro konstant)