Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > W

wconv(3C)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

towupper(), 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).

DESCRIPTION

towupper() 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.

EXTERNAL INFLUENCES

Locale

The LC_CTYPE category determines the translations to be done.

International Code Set Support

Single-byte and multi-byte character code sets are supported.

AUTHOR

wconv() was developed by IBM, OSF, and HP.

STANDARDS CONFORMANCE

towlower(): XPG4

towupper(): XPG4

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.