towlower(3)

towlower3

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

Usage

#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);

Library

Standard C Library (libc, -lc)

Overview

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.

Releases

145 releases since Mac OS X 10.3; the text changed 2 times.

  1. 10.3–10.4.11
  2. 10.5–10.6.8
  3. 10.7–26.5

Standards

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

From Libc 1752.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.