#include <wchar.h>
|
|
int
mbsinit (const mbstate_t *ps); |
The behavior of the mbsinit is affected by LC_CTYPE category of the current locale.
#include <stdlib.h>
#include <wchar.h>
/* Illustrates how to use mbsinit API */
int example_mbsinit(void)
{
mbstate_t mbs;
int state;
/* testing for the initial state */
state = mbsinit(&mbs);
/* return the state */
return(state);
}
|
© 2005-2007 Nokia |