Name

towlower

Synopsis

Converts an uppercase wide character to lowercase

#include <wctype.h>
wint_ttowlower( 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.

Get C in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.