std::setbuf
Da 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. |
Definido no cabeçalho <cstdio> | ||
void setbuf( FILE* stream, char* buffer ); | ||
Define o buffer interno de usar para I / O operações realizadas no corrente 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.
Se
buffer
não é nulo, o equivalente 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.
Se
buffer
é nulo, o equivalente a std::setvbuf(stream, NULL, _IONBF, 0), que desativa o buffer.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 | - | o fluxo de arquivo para definir o buffer para . 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 | - | ponteiro para um buffer para o fluxo de usar. Se NULL é fornecido, o buffer está desligado. Se não nulo, deve ser capaz de segurar a personagens 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
(Nenhum)
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]Veja também
define o tampão e do seu tamanho para um fluxo de arquivo 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. (função) | |
Documentação C para setbuf |