#include <wctype.h>
|
|
wint_t
towupper (wint_t wc); |
The behavior of the towupper is affected by LC_CTYPE category of the current locale.
#include <wchar.h>
/* Illustrates how to use towupper API */
wint_t example_towupper(void)
{
/* input character */
wint_t lwc = L’m’;
wint_t uwc;
/* convert a wide char from lower case to upper case */
uwc = towupper(lwc);
/* return the converted char or error if not */
return uwc;
}
The towupper function conforms to -isoC-99.
|
© 2005-2007 Nokia |