C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
wctomb, _fwctomb
 Description Example                     Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:   <stdlib.h>
 
  Syntax:    int wctomb( char *mbchar, wchar_t wchar );
             int _fwctomb( char __far *mbchar, wchar_t wchar );
 
  Returns:   the number of bytes in the wide character if successful;
             0 if <wchar> is NULL; -1 if the conversion is not possible in
             the current locale.
 
  See also:  mblen, mbstowcs, mbtowc, wchar_t, wcstombs, MB_CUR_MAX,
             MB_LEN_MAX
                                    -♦-