Converts a lowercase character to uppercase
| Call | |
| #include <vv_sys.h> | |
| UCHAR ch_toupper(ch) | |
|
UCHAR ch |
Character to be converted |
| Returns | |
| UCHAR | The character code of the uppercase character |
| Description
If the character code is less than 128, the standard C library function toupper() is called to convert the character to uppercase. If the character code is greater than 128 and support for the extended character set is not enabled, the character is considered non-lowercase and is returned unchanged. If support for the extended character set is enabled (vv_extch.h is #included), the appropriate entry in the table _chsettbl[] is checked to determine if the character is lowercase. If so, the table value for the corresponding uppercase character is returned. |
|
| Cautions
If the extended character set support is disabled (the default), all characters above 127 are considered non-lowercase and are returned unchanged. |
|