Name

towlower - convert a wide character to lowercase

Library

libc.lib

Synopsis

  #include <wctype.h>
  wint_t towlower (wint_t wc);

Return values

If the argument is an upper-case letter, the towlower function returns the corresponding lower-case letter if there is one; otherwise the argument is returned unchanged.

Detailed description

The towlower function converts an upper-case letter to the corresponding lower-case letter.

The behavior of the towlower is affected by LC_CTYPE category of the current locale.


Examples

#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;
}

         


Limitations

The current implementation of towlower is dependent on the locale support of SYMBIAN. It doesn’t work for the locales which the SYMBIAN

See also

iswlower, tolower, towupper, wctrans
The towlower function conforms to -isoC-99.

Feedback

For additional information or queries on this page send feedback

© 2005-2007 Nokia

Top