C in a Nutshell (In a Nutshell (OReilly))

towlower

Converts an uppercase wide character to lowercase

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

The towlower( ) function is like tolower( ) in all respects, except that it operates on wide characters. An uppercase wide character is one for which iswupper( ) returns TRue in the current locale; a lowercase wide character is one for which iswlower( ) returns TRue.

Example

See the example using the analogous function towupper( ) under mbrtowc( ) in this chapter.

See Also

iswlower( ), iswupper( ), tolower( ), toupper( ), towupper( ), towctrans( )

Категории