2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .TH iswupper 3 (date) "Linux man-pages (unreleased)"
14 iswupper \- test for uppercase wide character
17 .RI ( libc ", " \-lc )
20 .B #include <wctype.h>
22 .BI "int iswupper(wint_t " wc );
27 function is the wide-character equivalent of the
33 belonging to the wide-character class "upper".
35 The wide-character class "upper" is a subclass of the wide-character class
36 "alpha", and therefore also a subclass of the wide-character class "alnum", of
37 the wide-character class "graph" and of the wide-character class "print".
39 Being a subclass of the wide-character class "print", the wide-character class
40 "upper" is disjoint from the wide-character class "cntrl".
42 Being a subclass of the wide-character class "graph", the wide-character class
43 "upper" is disjoint from the wide-character class "space" and its subclass
46 Being a subclass of the wide-character class "alnum", the wide-character class
47 "upper" is disjoint from the wide-character class "punct".
49 Being a subclass of the wide-character class "alpha", the wide-character class
50 "upper" is disjoint from the wide-character class "digit".
52 The wide-character class "upper" contains at least those characters
59 The wide-character class "upper" always contains at least the
60 letters \[aq]A\[aq] to \[aq]Z\[aq].
64 function returns nonzero if
67 belonging to the wide-character class "upper".
68 Otherwise, it returns zero.
70 For an explanation of the terms used in this section, see
76 Interface Attribute Value
81 T} Thread safety MT-Safe locale
96 This function is not very appropriate for dealing with Unicode characters,
97 because Unicode knows about three cases: upper, lower, and title case.