Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual—522629-013
9-10
MBCS_CHARSTRING_ Procedure
MBCS_CHARSTRING_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Summary
The MBCS_CHARSTRING_ procedure tests the contents of a data string for the
exclusive use of MBCS characters of known internal character sets. This procedure
depends upon the MBCS_CHAR_ procedure to test each group of bytes in the data
string for validity; it inherently supports all the character sets known to the
MBCS_CHAR_ procedure. The MBCS_CHARSTRING_ procedure recognizes blank
MBCS characters. For the purposes of this procedure, a blank MBCS character is a
string of blank (%H20) bytes of the same storage length as an MBCS character of the
current MBCS.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
result returned value
INT
returns the
result of the MBCS character test of the testmbcsstring text
string.
#include <cextdecs(MBCS_CHARSTRING_)>
short MBCS_CHARSTRING_ ( char *testmbcschar
,short bytecount
,short *index
,[ short charset ]
,[ short *charinfo ] );
result := MBCS_CHARSTRING_ ( testmbcsstring ! i
,bytecount ! i
,index ! o
,[ charset ] ! i
,[ charinfo ] ); ! o