text
stringlengths 0
234
|
---|
.b #include <wctype.h> |
.pp |
.bi "int iswupper(wint_t " wc ); |
.fi |
.sh description |
the |
.br iswupper () |
function is the wide-character equivalent of the |
.br isupper (3) |
function. |
it tests whether |
.i wc |
is a wide character |
belonging to the wide-character class "upper". |
.pp |
the wide-character class "upper" is a subclass of the wide-character class |
"alpha", and therefore also a subclass of the wide-character class "alnum", of |
the wide-character class "graph" and of the wide-character class "print". |
.pp |
being a subclass of the wide-character class "print", the wide-character class |
"upper" is disjoint from the wide-character class "cntrl". |
.pp |
being a subclass of the wide-character class "graph", the wide-character class |
"upper" is disjoint from the wide-character class "space" and its subclass |
"blank". |
.pp |
being a subclass of the wide-character class "alnum", the wide-character class |
"upper" is disjoint from the wide-character class "punct". |
.pp |
being a subclass of the wide-character class "alpha", the wide-character class |
"upper" is disjoint from the wide-character class "digit". |
.pp |
the wide-character class "upper" contains at least those characters |
.i wc |
which are equal to |
.i towupper(wc) |
and different from |
.ir towlower(wc) . |
.pp |
the wide-character class "upper" always contains at least the |
letters \(aqa\(aq to \(aqz\(aq. |
.sh return value |
the |
.br iswupper () |
function returns nonzero if |
.i wc |
is a wide character |
belonging to the wide-character class "upper". |
otherwise, it returns zero. |
.sh attributes |
for an explanation of the terms used in this section, see |
.br attributes (7). |
.ad l |
.nh |
.ts |
allbox; |
lbx lb lb |
l l l. |
interface attribute value |
t{ |
.br iswupper () |
t} thread safety mt-safe locale |
.te |
.hy |
.ad |
.sp 1 |
.sh conforming to |
posix.1-2001, posix.1-2008, c99. |
.sh notes |
the behavior of |
.br iswupper () |
depends on the |
.b lc_ctype |
category of the |
current locale. |
.pp |
this function is not very appropriate for dealing with unicode characters, |
because unicode knows about three cases: upper, lower, and title case. |
.sh see also |
.br isupper (3), |
.br iswctype (3), |
.br towupper (3) |
.sh colophon |
this page is part of release 5.13 of the linux |
.i man-pages |
project. |
a description of the project, |
information about reporting bugs, |
and the latest version of this page, |
can be found at |
\%https://www.kernel.org/doc/man\-pages/. |
.\" copyright 2002 walter harms ([email protected]) |
.\" |
.\" %%%license_start(gpl_noversion_oneline) |
.\" distributed under gpl |
.\" %%%license_end |
.\" |
.th csinh 3 2021-03-22 "" "linux programmer's manual" |
.sh name |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.