Guardian Programming Reference Summary for C

Functions Summary (G-N)
Guardian Programming Reference Summary for C522630-001
6-18
result
MBCS_CHAR_
Indicates whether a string of bytes is part of a Tandem multibyte character set (MBCS).
result
charset
when result is nonzero:
MBCS_CHARSIZE_
Returns the display size (in columns) and the storage size (in bytes) of multibyte
character set (MBCS) characters from the character set specified by the charset
parameter.
0 = Indicates that the buffer string does not contain any Katakana characters or
that charset did not specify the Tandem Kanji multibyte character set.
1 = Indicates that the Tandem Kanji buffer string contains at least one Katakana
character.
#include <cextdecs(MBCS_CHAR_)>
short MBCS_CHAR_ ( char *testmbcschar /* i */
,[ short charset ] /* i */
,[ short *charinfo ] );/* i,o */
0 = Indicates that charset is not a supported MBCS or that charset is a
supported MBCS and testmbcschar does not point to the first byte of
a valid character of one of the MBCS character sets listed under
charset.
nonzero = Indicates that the character set is a supported MBCS and that
testmbcschar points to the first byte of a valid character of charset
MBCS. For 2-byte character sets, the returned value is the integer value
of the 16 bits that form the multibyte character.
1 = Tandem Kanji
9 = Tandem Hangul
10 = Tandem Chinese Big 5
11 = Tandem Chinese PC
12 = Tandem KSC5601