|
|
HP-UX Reference > Wwconv(3C)HP-UX 11i Version 2: December 2007 Update |
|
NAMEtowupper(), towlower() — translate wide characters SYNOPSIS#include <wctype.h> wint_t towupper(wint_t wc); wint_t towlower(wint_t wc); Remarks:These functions are compliant with the XPG4 Worldwide Portability Interface wide-character conversion functions. They parallel the 8-bit character conversion functions defined in conv(3C). DESCRIPTIONtowupper() and towlower() have as domain a wint_t, the value of which is representable as a wchar_t or the value WEOF. If the argument has any other value, the behavior is undefined. If the argument of towupper() represents a lowercase letter, the result is the corresponding uppercase letter. If the argument of towlower() represents an uppercase letter, the result is the corresponding lowercase letter. All other arguments are returned unchanged. Definitions for these functions, the types wint_t, wchar_t, and the value WEOF are provided in the <wchar.h> header. |
|