Guardian Programming Reference Summary for C
Functions Summary (G-N)
Guardian Programming Reference Summary for C—522630-001
6-27
MBCS_TRIMFRAGMENT_ 
Detects and trims trailing multibyte character fragments from text strings.
MESSAGESTATUS 
Determines if a particular message received through READUPDATE has been canceled.
status
MESSAGESYSTEMINFO 
Measures the number of XLBs used by a process, so it can warn when a limit is nearly 
reached.
return value:
#include <cextdecs(MBCS_TRIMFRAGMENT_)>
void MBCS_TRIMFRAGMENT_ ( char *bytestring /* i */
 ,short *bytecount /* i,o */
 ,[ short charset ] /* i */
 ,[ short *charinfo ] );/* o */
#include <cextdecs(MESSAGESTATUS)>
short MESSAGESTATUS ( [ short message-tag ] ); /* i */
 1 = The message has been canceled.
 0 = The message has not been canceled.
-1 = No pending message is associated with the given tag.
#include <cextdecs(MESSAGESYSTEMINFO)>
short MESSAGESYSTEMINFO ( short itemcode /* i */
  ,short *value );/* o */
0 = Successful, no error
2=Bad itemcode
21 = Bad value
22 = Bounds error
29 = Missing parameter










