The ifx_gl_towupper() function
The ifx_gl_towupper() function converts a lowercase wide character to its uppercase equivalent.
Syntax
#include <ifxgls.h>
...
unsigned short ifx_gl_towupper(src_wc)
gl_mchar_t *src_wc;
- src_wc
- A pointer to the source wide character that you want to convert to its uppercase equivalent.
Valid in client application | Valid in DataBlade® UDR |
---|---|
Yes | Yes |
Usage
The ifx_gl_towupper() function returns the uppercase equivalent of the src_wc source wide character. If the locale does not define an uppercase equivalent for src_wc, ifx_gl_towupper() returns src_wc unchanged.
Return values
- >0
- An unsigned short integer that represents the uppercase equivalent of src_wc.
- 0
- The function was not successful, and the error number is set to indicate the cause. See the Errors section.
Errors
This function does not return a unique
value to indicate an error. If an error occurred, the function returns
0 and sets the ifx_gl_lc_errno() error number to
the following value.
- IFX_GL_EILSEQ
- The *src_wc value is not a valid wide character.