towupper

Converts the argument, a wide character, to uppercase. If the argument is not a lowercase character, it is returned unchanged.

Format

#include  <wctype.h> (ISO C)

#include  <wchar.h> (XPG4)

int towupper  (wint_t wc);

Arguments

wc
An object of type wint_t representable as a valid wide character in the current locale, or the value of WEOF. For any other value, the behavior is undefined.

Description

If the argument is a lowercase wide character, the corresponing uppercase wide character (as defined in the LC_CTYPE category of the locale) is returned, if it exists. If it does not exist, the function returns the input argument unchanged.


Previous Page | Next Page | Table of Contents | Index