[Previous] [Contents] [Next]

iswupper()

Test for an uppercase wide character

Synopsis:

#include <wctype.h>

int iswupper( wint_t wc );

Library:

libc

Description:

The iswupper() function tests if the argument wc is an uppercase wide character of the class upper. In the C locale, they are: A to Z.

Returns:

=/= 0
The character is a member of the class upper.
0
Everything else.

Classification:

ANSI

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

Caveats:

The result is valid only for char arguments and WEOF.

See also:

setlocale()

"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.


[Previous] [Contents] [Next]