Espaces de noms
Variantes

mbsinit

De cppreference.com

<metanoindex/>

<tbody> </tbody>
Déclaré dans l'en-tête <wchar.h>
int mbsinit( const mbstate_t* ps);
Si ps n'est pas un pointeur NULL, la fonction mbsinit détermine si l'objet pointé à mbstate_t décrit l'état de conversion initial .
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.

Notes

Bien qu'un initialisé à zéro mbstate_t représente toujours l'état de conversion initial, il peut y avoir d'autres valeurs de mbstate_t qui représentent également l'état de conversion initial .
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.

Paramètres

ps -
pointeur vers l'objet mbstate_t à examiner
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.

Retourne la valeur

0 si ps n'est pas un pointeur NULL et ne reporesent l'état initial de conversion, valeur différente de zéro autrement .
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.

Exemple

Voir aussi

informations sur l'état de conversion nécessaire pour parcourir les chaînes de caractères multi-octets
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