Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

iswupper - Test for uppercase wide character

&pagelevel(4)&pagelevel

Definition

#include <wctype.h>

int iswupper(wint_t wc);

iswupper tests whether the wide character wc is an uppercase letter.

In all cases, wc is an argument of type wint_t, the value of which must be a wide character
code corresponding to a valid character in the current locale or must equal the value of the
macro WEOF. If the argument wc has any other value, the behavior is undefined.

Return val.

!= 0

0

wc is an uppercase letter.

wc is not an uppercase letter.

Notes

This version of the C runtime system only supports one-byte characters as wide character
codes.

iswupper is implemented both as a function and as a macro (see see section “Functions and macros”).

The behavior of iswupper is determined by the class upper of the current locale. The
current locale is the C locale, unless it was explicitly changed using setlocale.

See also

isupper, iswalnum, iswalpha, iswcntrl, iswdigit, iswgraph, iswlower, iswprint, iswpunct,
iswspace, iswxdigit, setlocale