Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
towupper(3) Guardian Native C Library Calls Reference Manual
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 and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll
SYNOPSIS
#include <wchar.h>
wint_t towupper (
wint_t wc);
PARAMETER
wc Specifies the wide character to convert.
DESCRIPTION
The towupper() function converts the lowercase wide character specified 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 program’s locale. In a locale where case conversion
information is not defined, 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).
7−44 Hewlett-Packard Company 527192-018