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 <stdio.h> | ||
void setbuf(FILE*stream, char*buffer ); | ||
Establece el búfer interno que se utilizará para las operaciones de ruta. Debe ser al menos caracteres
BUFSIZ
largo . 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.
Si
buffer
no es nulo, lo que equivale 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.
Si
buffer
es nulo, lo que equivale a setvbuf(stream, NULL, _IONBF, 0), que se apaga 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.
[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 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. |
[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 |