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 <stdio.h>
|
||
void setbuf( FILE *stream, char *buffer ); |
||
Consente di impostare il buffer interno da utilizzare per le operazioni di flusso. Dovrebbe essere almeno caratteri
BUFSIZ
lungo. Original:
Sets the internal buffer to use for stream operations. It should be at least
BUFSIZ
characters long. 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 setvbuf(stream, buffer, _IOFBF, BUFSIZ)Original:
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 setvbuf(stream, NULL, _IONBF, 0), che disattiva il buffering.Original:
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
Original: pointer to a buffer for the stream to use. If NULL is supplied, the buffering is turned off 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
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
|