Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual—522629-013
9-41
MBCS_TANDEM_TO_EXTERNAL_ Procedure
MBCS_TANDEM_TO_EXTERNAL_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Summary
The MBCS_TANDEM_TO_EXTERNAL_ procedure translates a text string from HP
internal format to a specified external text format.
Syntax for C 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_TANDEM_TO_EXTERNAL_)>
short MBCS_TANDEM_TO_EXTERNAL_ ( __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 ] );