|
|
Wide character to UTF-16.
- Parameters:
-
| s | where to store the converted UTF-16 character; |
| wc | the wide character to convert; |
| size | max number of uint16_t units to store in s; |
- Return values:
-
| >0 | the length in uint16_t units of the converted UTF-16 character, stored in s; |
| -EINVAL | invalid wide character (don't know how to convert it to UTF-16); |
| -ENAMETOOLONG | size too small to store the UTF-16 character. |
|