Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual522629-013
9-4
MBCS_CHAR_ Procedure
MBCS_CHAR_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary
The MBCS_CHAR_ procedure indicates whether a string of bytes is part of an HP
multibyte character set (MBCS) and that
testmbcschar points to the first byte of a
valid character of
charset MBCS.
The MBCS_CHAR_ procedure also performs a positive range test on all bytes of the
referenced character. If all bytes pass the range test, TRUE is returned, otherwise
FALSE is returned.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
result returned value
INT
returns the result of the MBCS character test.
0 indicates that
charset is not a supported MBCS (see charinfo
parameter), or
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.
#include <cextdecs(MBCS_CHAR_)>
short MBCS_CHAR_ ( char *testmbcschar
,[ short charset ]
,[ short *charinfo ] );
result := MBCS_CHAR_ ( testmbcschar ! i
,[ charset ] ! i
,[ charinfo ] ); ! i,o