Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual—522629-013
9-37
MBCS_SB_TO_MB_ Procedure
MBCS_SB_TO_MB_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Summary
This procedure and the companion MBCS_MB_TO_SB_ procedure are provided to 
allow conversion of the ninety-four displayable characters of the ASCII character set 
between 1-byte ASCII and characters of the specified MBCS. The 
MBCS_SB_TO_MB_ procedure converts 1-byte ASCII characters to the corresponding 
multibyte characters.   
Syntax for C Programmers   
Syntax for TAL Programmers        
Parameters
sbytestring:sbytecount input:input
STRING .EXT:*, INT:value
specifies a text string with 1-byte ASCII characters. 
sbytestring is the input text 
string to be converted by this procedure; it must be exactly 
sbytecount bytes 
long.
#include <cextdecs(MBCS_SB_TO_MB_)>
void MBCS_SB_TO_MB_ ( char *sbytestring 
  ,short sbytecount 
  ,char *mbytestring 
  ,short mbytecount 
  ,short *rbytecount 
  ,[ short charset ]
  ,[ short *charinfo ] );
CALL MBCS_SB_TO_MB_ ( sbytestring:sbytecount ! i:i
 ,mbytestring:mbytecount ! o:i
 ,rbytecount ! o
 ,[ charset ] ! i
 ,[ charinfo ] ); ! o










