towlower, towlower_l - transliterate uppercase wide-character code to lowercase
#include <wchar.h> wint_t towlower(wint_t wc); wint_t towlower_l(wint_t wc, locale_t locale);
The towlower() function has as a domain a type wint_t, the value of which must be a character representable as a wchar_t, and must be a wide-character code corresponding to a valid character in the current locale or the value of WEOF. If the argument has any other value, the argument is returned unchanged. If the argument of towlower() represents an uppercase wide-character code, and there exists a corresponding lowercase wide-character code (as defined by character type information in the program locale category LC_CTYPE), the result is the corresponding lowercase wide-character code. All other arguments in the domain are returned unchanged.
The towlower_l() function is equivalent to the towlower() function, except that the locale data used is from the locale represented by locale.
The behavior is undefined if the locale argument to towlower_l() is the special locale object LC_GLOBAL_LOCALE or is not a valid locale object handle.
On successful completion, towlower() and towlower_l() return the lowercase letter corresponding to the argument passed. Otherwise, they return the argument unchanged.
No errors are defined.
See attributes(7) for descriptions of the following attributes: