TOWLOWER(3) | Library Functions Manual | TOWLOWER(3) |
towlower
,
towlower_l
— upper case to
lower case letter conversion (wide character version)
Standard C Library (libc, -lc)
#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);
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.
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.
iswlower(3), tolower(3), towupper(3), wctrans(3), xlocale(3)
The towlower
() function conforms to
ISO/IEC 9899:1999
(“ISO C99”).
October 3, 2002 | macOS 15.2 |