Reference

towlower(3)

upper case to lower case letter conversion (wide character version)

NAME

towlower, towlower_l – upper case to lower case letter conversion (wide character version)

LIBRARY

Standard C Library (libc, -lc)

SYNOPSIS

#include <wctype.h>

wint_t

towlower(wint_t wc);

#include <wctype.h>

#include <xlocale.h>

wint_t

towlower_l(wint_t wc, locale_t loc);

DESCRIPTION

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

Although the towlower() function uses the current locale, the towlower_l() function may be passed a locale directly. See xlocale(3) for more information.

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.

SEE ALSO

iswlower(3), tolower(3), towupper(3), wctrans(3), xlocale(3)

STANDARDS

The towlower() function conforms to ISO/IEC 9899:1999 (“ISO C99”).

History