std::setbuf
De cppreference.com
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
Definido en el archivo de encabezado <cstdio>
|
||
void setbuf( FILE* stream, char* buffer ); |
||
Establece el búfer interno de usar para E / S de las operaciones realizadas en la corriente 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
no es nulo, lo que equivale 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.
Si
buffer
es nulo, lo que equivale a std::setvbuf(stream, NULL, _IONBF, 0), que se apaga 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.
[editar] Parámetros
stream | - | la secuencia de archivo para configurar el búfer .
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 | - | puntero a un búfer para el flujo de usar. Si NULL se suministra, el tampón está apagado. Si no es nulo, debe ser capaz de mantener a personajes menos
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. |
[editar] Valor de retorno
(Ninguno)
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.
[editar] Ver también
establece el tampón y su tamaño para una secuencia de archivo 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. (función) | |
Documentación de C para setbuf
|