std::setvbuf
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> | ||
int setvbuf( FILE *stream, char*buffer, int mode, size_t size ); | ||
Consente di impostare il buffer interno del
stream
file dato flusso. 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.
Indice |
[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 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 | - | buffer modalità da utilizzare. Può essere uno dei seguenti valori:
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 | - | dimensione del buffer 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. |
[modifica]Valore di ritorno
0 di successo, diverso da zero in caso di fallimento.
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.
[modifica]Note
Questa funzione può essere utilizzata solo dopo
stream
è stata associata a un file aperto, ma prima di qualsiasi altra operazione.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
può essere null, nel qual caso questa chiamata ridimensiona solo il buffer interno.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.
[modifica]Vedi anche
imposta il buffer per un flusso di file 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. (funzione) | |
[virtuale] | fornisce fornito dall'utente buffer o trasforma questo filebuf senza buffer 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. (virtuale protetto funzione of std::basic_filebuf membro) |
C documentation for setvbuf |