Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual522629-013
9-17
MBCS_EXTERNAL_TO_TANDEM_Procedure
MBCS_EXTERNAL_TO_TANDEM_Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Summary
The MBCS_EXTERNAL_TO_TANDEM_procedure translates a text string from a
specified external format to the HP internal text format.
Syntax for C Programmers
Syntax for TAL Programmers
Note. In the TNS/E environment the CEXTDECS file uses the int data type for 32-bit values.
This is a change from the TNS and TNS/R environments where CEXTDECS uses the long
data type for 32-bit values.
#include <cextdecs(MBCS_EXTERNAL_TO_TANDEM_)>
short MBCS_EXTERNAL_TO_TANDEM_ ( __int32_t *source-string
,__int32_t *destination- string
,short source-length
,short maximum-length
,short intermediate
,short external-form
,short finished-length
,[ char *shift-to-MBCS ]
,[ char *shift-to-one-byte ] );
error-code := MBCS_EXTERNAL_TO_TANDEM_
( source-string ! i,o
,destination-string ! i,o
,source-length ! i
,maximum-length ! i,o
,intermediate ! i
,external-form ! i
,finished-length ! o
,[ shift-to-MBCS ] ! i
,[ shift-to-one-byte ] ); ! i