Convert a wide character to uppercase
#include <wctype.h> wint_t towupper( wint_t wc );
- The wide character that you want to convert. This argument must be a wide-character code that corresponds to a valid character in the current locale, or must be WEOF; otherwise, the function's behavior is undefined.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
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. If the argument doesn't correspond to a valid character in the current locale and isn't WEOF, the function's behavior is undefined.
Last modified: 2013-12-23