]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/iswlower.3
man*/: srcfix (Use .P instead of .PP or .LP)
[thirdparty/man-pages.git] / man3 / iswlower.3
CommitLineData
a1eaacb1 1'\" t
fea681da
MK
2.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3.\"
e4a74ca8 4.\" SPDX-License-Identifier: GPL-2.0-or-later
fea681da
MK
5.\"
6.\" References consulted:
7.\" GNU glibc-2 source code and manual
8.\" Dinkumware C library reference http://www.dinkumware.com/
008f1ecc 9.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da
MK
10.\" ISO/IEC 9899:1999
11.\"
4c1c5274 12.TH iswlower 3 (date) "Linux man-pages (unreleased)"
fea681da
MK
13.SH NAME
14iswlower \- test for lowercase wide character
f0191109
AC
15.SH LIBRARY
16Standard C library
8fc3b2cf 17.RI ( libc ", " \-lc )
fea681da
MK
18.SH SYNOPSIS
19.nf
20.B #include <wctype.h>
c6d039a3 21.P
fea681da
MK
22.BI "int iswlower(wint_t " wc );
23.fi
24.SH DESCRIPTION
60a90ecd
MK
25The
26.BR iswlower ()
27function is the wide-character equivalent of the
28.BR islower (3)
29function.
35cfd378
MK
30It tests whether
31.I wc
32is a wide character
d0f17b57 33belonging to the wide-character class "lower".
c6d039a3 34.P
d0f17b57 35The wide-character class "lower" is a subclass of the wide-character class
988db661 36"alpha", and therefore also a subclass
d0f17b57
MK
37of the wide-character class "alnum", of
38the wide-character class "graph" and of the wide-character class "print".
c6d039a3 39.P
d0f17b57
MK
40Being a subclass of the wide-character class "print",
41the wide-character class
42"lower" is disjoint from the wide-character class "cntrl".
c6d039a3 43.P
d0f17b57 44Being a subclass of the wide-character class "graph",
988db661 45the wide-character class "lower" is disjoint from the
d0f17b57 46wide-character class "space" and its subclass "blank".
c6d039a3 47.P
d0f17b57
MK
48Being a subclass of the wide-character class "alnum",
49the wide-character class
50"lower" is disjoint from the wide-character class "punct".
c6d039a3 51.P
d0f17b57
MK
52Being a subclass of the wide-character class "alpha",
53the wide-character class
54"lower" is disjoint from the wide-character class "digit".
c6d039a3 55.P
d0f17b57 56The wide-character class "lower" contains at least
35cfd378
MK
57those characters
58.I wc
59which are equal to
60.I towlower(wc)
61and different from
62.IR towupper(wc) .
c6d039a3 63.P
d0f17b57 64The wide-character class "lower" always contains
b957f81f 65at least the letters \[aq]a\[aq] to \[aq]z\[aq].
47297adb 66.SH RETURN VALUE
60a90ecd
MK
67The
68.BR iswlower ()
c7094399 69function returns nonzero
35cfd378
MK
70if
71.I wc
72is a wide character
d0f17b57 73belonging to the wide-character class "lower".
2b9b829d 74Otherwise, it returns zero.
44478dbd
PH
75.SH ATTRIBUTES
76For an explanation of the terms used in this section, see
77.BR attributes (7).
78.TS
79allbox;
c466875e 80lbx lb lb
44478dbd
PH
81l l l.
82Interface Attribute Value
83T{
9e54434e
BR
84.na
85.nh
44478dbd
PH
86.BR iswlower ()
87T} Thread safety MT-Safe locale
88.TE
3113c7f3 89.SH STANDARDS
4131356c
AC
90C11, POSIX.1-2008.
91.SH HISTORY
92POSIX.1-2001, C99.
fea681da 93.SH NOTES
d9bfdb9c 94The behavior of
60a90ecd 95.BR iswlower ()
1274071a
MK
96depends on the
97.B LC_CTYPE
98category of the
fea681da 99current locale.
c6d039a3 100.P
fea681da 101This function is not very appropriate for dealing with Unicode characters,
735334d4 102because Unicode knows about three cases: upper, lower, and title case.
47297adb 103.SH SEE ALSO
e37e3282
MK
104.BR islower (3),
105.BR iswctype (3),
106.BR towlower (3)