std::basic_streambuf::sgetn, std::basic_streambuf::xsgetn
De cppreference.com
<metanoindex/>
<tbody> </tbody> std::streamsize sgetn( char_type* s, std::streamsize count ); |
(1) | |
protected: virtual std::streamsize xsgetn( char_type* s, std::streamsize count ); |
(2) | |
1)
Chama
xsgetn(s, count) da classe mais derivada.Original:
Calls
xsgetn(s, count) of the most derived class.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.
2)
Lê
count caracteres da seqüência de entrada e armazena-os em uma matriz de caracteres apontada por s. Os caracteres são lidos como se por chamadas repetidas para sbumpc(). Ou seja, se menos de personagens count estão imediatamente disponíveis, a função chama uflow() para fornecer mais até traits::eof() é devolvido.Original:
Reads
count characters from the input sequence and stores them into a character array pointed to by s. The characters are read as if by repeated calls to sbumpc(). That is, if less than count characters are immediately available, the function calls uflow() to provide more until traits::eof() is returned.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.
Parâmetros
(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.
Valor de retorno
O número de caracteres lido com sucesso.
Original:
The number of characters successfully read.
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.
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |
