Guardian Programming Reference Summary for C
Functions Summary (G-N)
Guardian Programming Reference Summary for C—522630-001
6-23
MBCS_FORMAT_ITI_BUFFER_ 
Formats ITI buffers for specific terminal types.
return value:
terminal-type
#include <cextdecs(MBCS_FORMAT_ITI_BUFFER_)>
short MBCS_FORMAT_ITI_BUFFER_ ( long *source-string /* i,o */
 ,long *destination-string /* i,o */
 ,short source-length /* i */
 ,short maximum-length /* i */
 ,short intermediate /* i */
 ,short terminal-type /* i */
 ,short maximum-col-count /* i */
 ,short *finished-length /* o */
 ,short *screen-col-count /* o */
 ,[ char *shift-to-MBCS ] /* i */
 ,[ char *shift-to-one-byte ] /* i */
 ,[ short startmode ] ); /* i */
 0 = Successful completion of the translation
-1 = Source string translation incomplete, ran out of destination buffer area
-2 = Unknown terminal type specified
-3 = Invalid source-string length
-4 = Invalid character in Kanji-only source string
-5 = Control string parameter too long
29 = Parameter missing
0 = IBM 3274-series
1 = IBM Emulation on IBM5550 with one-byte Katakana
2 = IBM Emulation on IBM5550 with lowercase alphabet
4 = Fujitsu F-6650 with lowercase alphabet
5 = Fujitsu F-6650 with one-byte Katakana










