C examples for uchar.h:mbrtoc16
function
<cuchar>
Convert multibyte sequence to 16-bit character
size_t mbrtoc16 ( char16_t * pc16, const char * pmb, size_t max, mbstate_t * ps);
Parameter | Description |
---|---|
pc16 | an object of type char16_t. |
pmb | a multibyte character. |
max | Maximum number of bytes to read from pmb. |
ps | a mbstate_t object that defines a conversion state. |