std::setvbuf
Aus cppreference.com
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
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.
You can help to correct and verify the translation. Click here for instructions.
Inhaltsverzeichnis |
[Bearbeiten]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:
Original: buffering mode to use. It can be one of the following values:
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. |
[Bearbeiten]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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten]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.
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten]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) | |
[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 ) |
C documentation for setvbuf |