Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
iswupper()
Test a character to see if it's an uppercase letter
Synopsis:
#include <wctype.h> int iswupper( wint_t wc );
Arguments:
- wc
- The wide character you want to test.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The iswupper() function tests if the argument wc is an uppercase wide character of the class upper. In the C locale, this class includes the characters from A through Z.
Returns:
A nonzero value if the character is a member of the class upper, or 0 otherwise.
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
Caveats:
The result is valid only for wchar_t arguments and WEOF.
See also:
isupper(), iswalnum(), iswalpha(), iswcntrl(), iswctype(), iswdigit(), iswgraph(), iswlower(), iswprint(), iswpunct(), iswspace(), iswxdigit(), setlocale(), towlower(), towupper()
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)