delorie.com/djgpp/doc/libc/libc_559.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdlib.h> size_t mbstowcs(wchar_t *wcs, const char *s, size_t n); |
Converts a multibyte string to a wide character string. The result will be no more than n wide characters.
The number of wide characters stored.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
int wlen = mbtowcs(wbuf, string, sizeof(wbuf)/sizeof(wchar_t)); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |