1ISWUPPER(3) Linux Programmer's Manual ISWUPPER(3)
2
3
4
6 iswupper - test for uppercase wide character
7
9 #include <wctype.h>
10
11 int iswupper(wint_t wc);
12
14 The iswupper() function is the wide-character equivalent of the isup‐
15 per() function. It tests whether wc is a wide character belonging to
16 the wide character class "upper".
17
18 The wide character class "upper" is a subclass of the wide character
19 class "alpha", and therefore also a subclass of the wide character
20 class "alnum", of the wide character class "graph" and of the wide
21 character class "print".
22
23 Being a subclass of the wide character class "print", the wide charac‐
24 ter class "upper" is disjoint from the wide character class "cntrl".
25
26 Being a subclass of the wide character class "graph", the wide charac‐
27 ter class "upper" is disjoint from the wide character class "space" and
28 its subclass "blank".
29
30 Being a subclass of the wide character class "alnum", the wide charac‐
31 ter class "upper" is disjoint from the wide character class "punct".
32
33 Being a subclass of the wide character class "alpha", the wide charac‐
34 ter class "upper" is disjoint from the wide character class "digit".
35
36 The wide character class "upper" contains at least those characters wc
37 which are equal to towupper(wc) and different from towlower(wc).
38
39 The wide character class "upper" always contains at least the letters
40 'A' to 'Z'.
41
43 The iswupper() function returns non-zero if wc is a wide character
44 belonging to the wide character class "upper". Otherwise it returns
45 zero.
46
48 C99.
49
51 isupper(3), iswctype(3), towupper(3)
52
54 The behaviour of iswupper() depends on the LC_CTYPE category of the
55 current locale.
56
57 This function is not very appropriate for dealing with Unicode charac‐
58 ters, because Unicode knows about three cases: upper, lower and title
59 case.
60
61
62
63GNU 1999-07-25 ISWUPPER(3)