std::setbuf
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <cstdio>
|
||
void setbuf( FILE* stream, char* buffer ); |
||
Consente di impostare il buffer interno da utilizzare per operazioni I / O eseguite sul flusso C
stream
.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.
Se
buffer
non è nullo, equivalente a 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.
Se
buffer
è nullo, equivalente a std::setvbuf(stream, NULL, _IONBF, 0), che disattiva il 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.
[modifica] Parametri
stream | - | il flusso di file per impostare il buffer .
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 | - | puntatore a un buffer per il flusso da utilizzare. Se NULL è fornito, il buffer è spento. Se non è null, deve essere in grado di conservare i caratteri almeno
BUFSIZ Original: 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. |
[modifica] Valore di ritorno
(Nessuno)
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.
[modifica] Vedi anche
imposta il buffer e la dimensione di un flusso di file 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. (funzione) | |
C documentation for setbuf
|