1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
14 .TH ISWUPPER 3 1999-07-25 "GNU" "Linux Programmer's Manual"
16 iswupper \- test for uppercase wide character
19 .B #include <wctype.h>
21 .BI "int iswupper(wint_t " wc );
26 function is the wide-character equivalent of the
29 It tests whether \fIwc\fP is a wide character
30 belonging to the wide-character class "upper".
32 The wide-character class "upper" is a subclass of the wide-character class
33 "alpha", and therefore also a subclass of the wide-character class "alnum", of
34 the wide-character class "graph" and of the wide-character class "print".
36 Being a subclass of the wide-character class "print", the wide-character class
37 "upper" is disjoint from the wide-character class "cntrl".
39 Being a subclass of the wide-character class "graph", the wide-character class
40 "upper" is disjoint from the wide-character class "space" and its subclass
43 Being a subclass of the wide-character class "alnum", the wide-character class
44 "upper" is disjoint from the wide-character class "punct".
46 Being a subclass of the wide-character class "alpha", the wide-character class
47 "upper" is disjoint from the wide-character class "digit".
49 The wide-character class "upper" contains at least those characters \fIwc\fP
50 which are equal to \fItowupper(wc)\fP and different from \fItowlower(wc)\fP.
52 The wide-character class "upper" always contains at least the
53 letters \(aqA\(aq to \(aqZ\(aq.
57 function returns nonzero if \fIwc\fP is a wide character
58 belonging to the wide-character class "upper".
59 Otherwise it returns zero.
70 This function is not very appropriate for dealing with Unicode characters,
71 because Unicode knows about three cases: upper, lower and title case.