ch_tolower()

Converts an uppercase character to lowercase

Call  
#include <vv_sys.h>
UCHAR ch_tolower(ch)

UCHAR ch

Character to be converted

Returns  
UCHAR The character code of the lowercase character
Description

If the character code is less than 128, the standard C library function tolower() is called to convert the character to lowercase.

If the character code is greater than 128 and support for the extended character set is not enabled, the character is considered non-uppercase 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 uppercase. The table value for the corresponding lowercase character is returned.

Cautions

If the extended character set support is disabled (the default), all characters above 127 are considered non-uppercase and are returned unchanged.


Home Contents Previous Next