TOWLOWER(3) BSD Library Functions Manual TOWLOWER(3)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 correspond‐
ing 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 argu‐
ment is returned unchanged.
SEE ALSOiswlower(3), tolower(3), towupper(3), wctrans(3), xlocale(3)STANDARDS
The towlower() function conforms to ISO/IEC 9899:1999 (“ISO C99”).
BSD October 3, 2002 BSD