Namensräume
Varianten

std::setvbuf

Aus cppreference.com
< cpp | io | c

<metanoindex/>

 
 
Input / Output-Bibliothek
I / O-Manipulatoren
C-style I / O
Puffern
Original:
Buffers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_streambuf
basic_filebuf
basic_stringbuf
strstreambuf(veraltet)
Streams
Original:
Streams
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Abstraktionen
Original:
Abstractions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base
basic_ios
basic_istream
basic_ostream
basic_iostream
Datei-I / O
Original:
File I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ifstream
basic_ofstream
basic_fstream
String I / O
Original:
String I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_istringstream
basic_ostringstream
basic_stringstream
Array I / O
Original:
Array I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istrstream(veraltet)
ostrstream(veraltet)
strstream(veraltet)
Types
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
streamoff
streamsize
fpos
Fehler Kategorie Schnittstelle
Original:
Error category interface
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iostream_category(C++11)
io_errc(C++11)
 
C-style I / O
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
 
<tbody> </tbody>
definiert in Header <cstdio>
int setvbuf( FILE *stream, char *buffer, int mode, size_t size );
Setzt den internen Puffer der angegebenen Datei Stream stream .
Original:
Sets the internal buffer of the given file stream stream.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parameter

stream -
der Datei-Stream, um den Puffer zu setzen
Original:
the file stream to set the buffer to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
buffer -
Zeiger auf einen Puffer für den Strom zu benutzen
Original:
pointer to a buffer for the stream to use
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
mode -
Pufferung Modus zu verwenden. Es kann einer der folgenden Werte sein:
_IOFBF full buffering
_IOLBF line buffering
_IONBF no buffering
Original:
buffering mode to use. It can be one of the following values:
_IOFBF full buffering
_IOLBF line buffering
_IONBF no buffering
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
size -
Größe des Puffers
Original:
size of the buffer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

0 über Erfolg oder Null bei einem Fehler .
Original:
0 on success or nonzero on failure.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Notes

Diese Funktion darf nur verwendet werden, nachdem stream mit einer geöffneten Datei in Verbindung gebracht werden, sondern vor allen anderen Betrieb .
Original:
This function may only be used after stream has been associated with an open file, but before any other operation.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
buffer kann NULL sein, in welchem ​​Fall dieser Anruf nur die Größe des internen Puffers .
Original:
buffer may be null, in which case this call only resizes the internal buffer.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Siehe auch

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]
[virtuell]
bietet vom Benutzer angegebenen Puffer oder schaltet diese filebuf unbuffered
Original:
provides user-supplied buffer or turns this filebuf unbuffered
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(virtuellen geschützten Member-Funktion of std::basic_filebuf) [edit]
C documentation for setvbuf