SysTutorials

Man Pages › Section 3

wcrtomb(3)

wcrtomb – convert a wide character to a multibyte sequence

Synopsis

#include <wchar.h>

size_t wcrtomb(char *s, wchar_t wc, mbstate_t *ps);

Description

The main case for this function is when s is not NULL and wc is not a null wide character (L’