Espacios de nombres
Variantes
Acciones

std::setbuf

De cppreference.com
< cpp‎ | io‎ | c
 
 
Biblioteca de E/S
Manipuladores de E/S
E/S estilo C
Búferes
(en desuso en C++98)
Flujos
Abstracciones
E/S de archivos
E/S de cadenas
E/S de arrays
(en desuso en C++98)
(en desuso en C++98)
(en desuso en C++98)
Salida sincronizada
Tipos
Interfaz de categoría de error
(C++11)
 
 
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.
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.
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.

[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 characters
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.

[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) [editar]