Espaços nominais
Variantes
Ações

mbsinit

De cppreference.com

<metanoindex/>

 
 
 
Strings terminadas multibyte
Wide / multibyte conversões
Original:
Wide/multibyte conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Tipos
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
<tbody> </tbody>
Definido no cabeçalho <wchar.h>
int mbsinit( const mbstate_t* ps);
Se ps não é um ponteiro nulo, a função mbsinit determina se o objeto pontiagudo para mbstate_t descreve o estado de conversão inicial.
Original:
If ps is not a null pointer, the mbsinit function determines whether the pointed-to mbstate_t object describes the initial conversion state.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Notas

Embora um zero inicializado mbstate_t sempre representa o estado inicial de conversão, pode haver outros valores de mbstate_t que também representam o estado inicial de conversão.
Original:
Although a zero-initialized mbstate_t always represents the initial conversion state, there may be other values of mbstate_t that also represent the initial conversion state.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parâmetros

ps -
ponteiro para o objeto mbstate_t examinar
Original:
pointer to the mbstate_t object to examine
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

0 se ps não é um ponteiro nulo e não reporesent o estado de conversão inicial, valor diferente de zero caso contrário.
Original:
0 if ps is not a null pointer and does not reporesent the initial conversion state, nonzero value otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exemplo

Veja também

informação de conversão de estado necessário para repetir seqüências de caracteres multibyte
Original:
conversion state information necessary to iterate multibyte character strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe) [edit]
C++ documentation for mbsinit