]>
Commit | Line | Data |
---|---|---|
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 |
14 | iswlower \- test for lowercase wide character | |
f0191109 AC |
15 | .SH LIBRARY |
16 | Standard 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 |
25 | The |
26 | .BR iswlower () | |
27 | function is the wide-character equivalent of the | |
28 | .BR islower (3) | |
29 | function. | |
35cfd378 MK |
30 | It tests whether |
31 | .I wc | |
32 | is a wide character | |
d0f17b57 | 33 | belonging to the wide-character class "lower". |
c6d039a3 | 34 | .P |
d0f17b57 | 35 | The wide-character class "lower" is a subclass of the wide-character class |
988db661 | 36 | "alpha", and therefore also a subclass |
d0f17b57 MK |
37 | of the wide-character class "alnum", of |
38 | the wide-character class "graph" and of the wide-character class "print". | |
c6d039a3 | 39 | .P |
d0f17b57 MK |
40 | Being a subclass of the wide-character class "print", |
41 | the wide-character class | |
42 | "lower" is disjoint from the wide-character class "cntrl". | |
c6d039a3 | 43 | .P |
d0f17b57 | 44 | Being a subclass of the wide-character class "graph", |
988db661 | 45 | the wide-character class "lower" is disjoint from the |
d0f17b57 | 46 | wide-character class "space" and its subclass "blank". |
c6d039a3 | 47 | .P |
d0f17b57 MK |
48 | Being a subclass of the wide-character class "alnum", |
49 | the wide-character class | |
50 | "lower" is disjoint from the wide-character class "punct". | |
c6d039a3 | 51 | .P |
d0f17b57 MK |
52 | Being a subclass of the wide-character class "alpha", |
53 | the wide-character class | |
54 | "lower" is disjoint from the wide-character class "digit". | |
c6d039a3 | 55 | .P |
d0f17b57 | 56 | The wide-character class "lower" contains at least |
35cfd378 MK |
57 | those characters |
58 | .I wc | |
59 | which are equal to | |
60 | .I towlower(wc) | |
61 | and different from | |
62 | .IR towupper(wc) . | |
c6d039a3 | 63 | .P |
d0f17b57 | 64 | The wide-character class "lower" always contains |
b957f81f | 65 | at least the letters \[aq]a\[aq] to \[aq]z\[aq]. |
47297adb | 66 | .SH RETURN VALUE |
60a90ecd MK |
67 | The |
68 | .BR iswlower () | |
c7094399 | 69 | function returns nonzero |
35cfd378 MK |
70 | if |
71 | .I wc | |
72 | is a wide character | |
d0f17b57 | 73 | belonging to the wide-character class "lower". |
2b9b829d | 74 | Otherwise, it returns zero. |
44478dbd PH |
75 | .SH ATTRIBUTES |
76 | For an explanation of the terms used in this section, see | |
77 | .BR attributes (7). | |
78 | .TS | |
79 | allbox; | |
c466875e | 80 | lbx lb lb |
44478dbd PH |
81 | l l l. |
82 | Interface Attribute Value | |
83 | T{ | |
9e54434e BR |
84 | .na |
85 | .nh | |
44478dbd PH |
86 | .BR iswlower () |
87 | T} Thread safety MT-Safe locale | |
88 | .TE | |
3113c7f3 | 89 | .SH STANDARDS |
4131356c AC |
90 | C11, POSIX.1-2008. |
91 | .SH HISTORY | |
92 | POSIX.1-2001, C99. | |
fea681da | 93 | .SH NOTES |
d9bfdb9c | 94 | The behavior of |
60a90ecd | 95 | .BR iswlower () |
1274071a MK |
96 | depends on the |
97 | .B LC_CTYPE | |
98 | category of the | |
fea681da | 99 | current locale. |
c6d039a3 | 100 | .P |
fea681da | 101 | This function is not very appropriate for dealing with Unicode characters, |
735334d4 | 102 | because 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) |