mbstowcs()

This is a Hardware specific function. It is not implemented in the Compiler.

Syntax
  #include <stdlib.h>

  
  size_t mbstowcs(wchar_t *wcs,

  
                  const char *mbs,

  
                  size_t n);

  
Description

mbstowcs() converts a multi-byte character string mbs to a wide character string wcs. Only the first n elements are converted.

Return

The number of elements converted, or (size_t) - 1 if there was an error.

See also

mblen() and

mbtowc()