Open System Services Library Calls Reference Manual (G06.27+, H06.04+)

OSS Library Calls (t - v) towupper(3)
NAME
towupper - Translates lowercase to uppercase wide characters
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL |
G-series native OSS processes: /G/system/sysnn/zcrtlsrl |
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: /G/system/zdllnnn/zcrtldll
SYNOPSIS
#include <wchar.h>
wint_t towupper (
wint_t wc);
PARAMETER
wc Species the wide character to convert.
DESCRIPTION
The towupper() function converts the lowercase wide character specied by the wc parameter
into the corresponding uppercase wide character. The behavior of the towupper( ) function is
affected by the LC_CTYPE category of the programs locale. In a locale where case conversion
information is not dened, this function determines the case of characters according to the rules
of the C locale.
RETURN VALUES
If the wc parameter contains a lowercase wide character that has a corresponding uppercase wide
character, that wide character is returned. Otherwise, the wc parameter is returned unchanged.
RELATED INFORMATION
Functions: toascii(3), tolower(3), toupper(3), towlower(3), setlocale(3).
527187-004 Hewlett-Packard Company 747