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