Convert character to uppercase
#include <wctype.h> wint_t towupper( wint_t wc );
libc
The towupper() function converts wc to an uppercase letter if wc represents a lowercase letter.
The corresponding uppercase letter when the argument is a lowercase letter; otherwise, the original wide character is returned.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
"Character manipulation functions" and "Wide-character functions" in Library Reference Summary