wctomb(3) Library Functions Manual wctomb(3) wctomb - (libc -lc) #include int wctomb(char *s, wchar_t wc); s (NULL) wctomb() wc s. wctomb() s. MB_CUR_MAX s. s. s (NULL) wctomb() . s (NULL) wctomb() s. wc ( ) -1. s (NULL) wctomb() . attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |wctomb() | | MT-Unsafe race | +------------+------------------------------------+--------------------+ wcrtomb(3) . C11, POSIX.1-2008. POSIX.1-2001 C99. wctomb() LC_CTYPE . MB_CUR_MAX(3), mblen(3), mbstowcs(3), mbtowc(3), wcrtomb(3), wcstombs(3) 3 . . : . 6.18 8 2026 wctomb(3)