Varianti

mbsinit

Da cppreference.com.

<metanoindex/>

 
 
 
Stringhe multibyte null-terminated
Wide / multibyte conversioni
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.
mbsinit
Tipi
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
mbstate_t
 
<tbody> </tbody>
Elemento definito nell'header <wchar.h>
int mbsinit( const mbstate_t* ps);
ps se non è un puntatore nullo, la funzione mbsinit determina se l'oggetto appuntito a mbstate_t descrive lo stato iniziale di conversione.
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.

Note

Sebbene un inizializzati a zero mbstate_t sempre rappresenta lo stato iniziale di conversione, vi possono essere altri valori di mbstate_t che ne rappresentano anche lo stato iniziale di conversione.
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.

Parametri

ps -
puntatore all'oggetto mbstate_t da esaminare
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.

Valore di ritorno

0 ps se non è un puntatore nullo e non reporesent stato iniziale di conversione, il valore zero altrimenti.
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.

Esempio

Vedi anche

informazioni sullo stato di conversione necessario per scorrere le stringhe di caratteri 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) [modifica]
C++ documentation for mbsinit