Jump to content

UniToupper

From EDM2
Revision as of 02:59, 16 August 2017 by Martini (talk | contribs) (Created page with "UniToupper converts a Unicode character to uppercase according to the language neutral case mapping tables. ==Syntax== UniChar UniToupper (UniChar ucUniCharIn) ==Paramete...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UniToupper converts a Unicode character to uppercase according to the language neutral case mapping tables.

Syntax

UniChar UniToupper (UniChar ucUniCharIn) 

Parameters

ucUniCharIn (UniChar) - input
Unicode character to be mapped to uppercase.

Returns

ucUniCharOut (UniChar) - returns

Converted uppercase character.

Remarks

Example

This example shows how to convert a Unicode character to uppercase according to the language neutral case mapping tables.

#include <stdio.h>

#include <unidef.h>
int main(void) {
UniChar    uni_lwr = L'c';

UniChar    uni_upr;
         uni_upr = UniToupper(uni_lwr);
         return (ULS_SUCCESS);
}

Format

#include <unidef.h>

UniChar UniToupper
    (UniChar ucUniCharIn) 

Related Functions