std::setbuf
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> | ||
void setbuf( FILE* stream, char* buffer ); | ||
Setzt den internen Puffer für I / O-Operationen auf der C-Stream
stream
durchgeführt verwenden .Original:
Sets the internal buffer to use for I/O operations performed on the C 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.
Wenn
buffer
nicht null ist, entspricht std::setvbuf(stream, buffer, _IOFBF, BUFSIZ)Original:
If
buffer
is not null, equivalent to std::setvbuf(stream, buffer, _IOFBF, BUFSIZ)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.
Wenn
buffer
null ist, entspricht std::setvbuf(stream, NULL, _IONBF, 0), die abschaltet buffering .Original:
If
buffer
is null, equivalent to std::setvbuf(stream, NULL, _IONBF, 0), which turns off buffering.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]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. Wenn NULL zugeführt wird, wird die Pufferung ausgeschaltet. Wenn nicht null, muss mindestens BUFSIZ Zeichen enthaltenOriginal: pointer to a buffer for the stream to use. If NULL is supplied, the buffering is turned off. If not null, must be able to hold at least BUFSIZ charactersThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[Bearbeiten]Rückgabewert
(None)
Original:
(none)
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 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) | |
C documentation for setbuf |