Name
iswlower
Synopsis
Ascertains whether a given wide character is a lowercase letter
#include <wctype.h> intiswlower( wint_twc);
The iswlower() function is
the wide-character version of the islower() character classification
function. It tests whether its character argument is a lowercase
letter. If the character is a lowercase letter, iswlower() returns a nonzero value (that
is, true); if not, the function
returns 0 (false).
Which characters are letters and which letters are lowercase
both depend on the current locale setting for the category LC_CTYPE, which you can query or change
using the setlocale() function.
For some locale-specific characters, both iswupper() and iswlower() may return true, or both may return false even though iswalpha() returns true. However, iswlower() is mutually exclusive with
iswcntrl(), iswdigit(), iswpunct(), and iswspace() in all locales.
Example
See the example for iswalpha() in this
chapter.
See Also
iswupper(), iswalpha(); the
corresponding function for byte characters, islower(); the
extensible wide-character classification function, iswctype(); iswalnum(), iswblank(), iswcntrl(), iswdigit(), iswgraph(), iswprint(), iswpunct(), iswspace(), iswxdigit(), setlocale()
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access