wctomb()

Syntax
  #include <stdlib.h>

  
  int wctomb(char *s, wchar_t wchar);

  
Description

wctomb() converts wchar to a multi-byte character, stores that character in s, and returns the length in bytes of s.

Return

The length of s in bytes after the conversion.

See also

wcstombs()