SYNOPSIS
#include <stdlib.h>
size_t mbstowcs(wchar_t *pwcs, const char *s, size_t n);
DESCRIPTION
The
PARAMETERS
- pwcs
-
Is the address of an array of wide characters, type wchar_t, to receive the UNICODE equivalent of multibyte string s.
- s
-
Points to a null-terminated multibyte string to be converted to UNICODE.
- n
-
Is the maximum number of characters to convert and store in pwcs.
RETURN VALUES
If successful,
CONFORMANCE
ANSI/ISO 9899-1990.
MULTITHREAD SAFETY LEVEL
MT-Safe, with exceptions.
This function is MT-Safe as long as no thread calls
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
mblen() ,mbtowc() ,setlocale() ,wcstombs()
MKS Toolkit 9.2 Documentation Build 16.