Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (O)
Guardian Procedure Calls Reference Manual—522629-013
11-11
OLDSYSMSG_TO_NEWSYSMSG_ Procedure
OLDSYSMSG_TO_NEWSYSMSG_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Summary
The OLDSYMSG_TO_NEWSYSMSG_ procedure converts a C-series format system
message to its D-series equivalent. See “Considerations” for a list of the messages
that this procedure accepts and produces.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT
indicates the result of the check. Valid values are:
0 Message successfully converted
1 File-system error;
error-detail contains the file-system error number.
2 Parameter error;
error-detail contains the number of the first parameter
found to be in error, where 1 designates the first parameter on the left.
#include <cextdecs(OLDSYSMSG_TO_NEWSYSMSG_)>
short OLDSYSMSG_TO_NEWSYSMSG_ ( char *oldmsg
,short length
,char *newmsg
,short maxlen
,short *newmsg-length
,[ short *error-detail ] );
error := OLDSYSMSG_TO_NEWSYSMSG _ ( oldmsg:length !
i:i
,newmsg:maxlen !
o:i
,newmsg-length ! o
,[ error-detail ] ); ! o