GNU/Linux |
RedHat 5.2(Apollo) |
|
![]() |
wctomb(3) |
![]() |
wctomb − convert a wide character to a multibyte character.
#include <stdlib.h>
int wctomb(char *s, wchar_t wchar);
The wctomb() function converts a wide character wchar into a multibyte character and, if s is not NULL, stores the multibyte character representation in s.
wctomb() returns the number of bytes in the multibyte character or −1 if the wide character is not valid.
SVID 3, ISO 9899
mblen(3), mbstowcs(3), mbtowc(3), wcstombs(3)
![]() |
wctomb(3) | ![]() |