std::setbuf
De 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. |
<metanoindex/>
<tbody> </tbody>| Déclaré dans l'en-tête <cstdio>
|
||
void setbuf( FILE* stream, char* buffer ); |
||
Définit la mémoire tampon interne à utiliser pour I / O opérations effectuées sur le flux de 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.
Si
buffer n'est pas nul, ce qui équivaut à 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.
Si
buffer est nulle, ce qui équivaut à std::setvbuf(stream, NULL, _IONBF, 0), ce qui désactive le tampon .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.
Paramètres
| stream | - | le flux de fichier pour définir le tampon de .
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 | - | pointeur vers un tampon pour le flux à utiliser. Si NULL est fourni, le tampon est mis hors tension. Si ce n'est pas nulle, doit être capable de tenir au moins
BUFSIZ caractèresOriginal: 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. |
Retourne la valeur
(Aucun)
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.
Voir aussi
définit le tampon et la taille d'un fichier 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. (fonction) | |
C documentation for setbuf
|