Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (A-B)
Guardian Procedure Calls Reference Manual522629-013
2-17
ADDRTOPROCNAME Procedure
ADDRTOPROCNAME Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Summary
ADDRTOPROCNAME accepts a P register value and stack marker ENV value and
returns the associated symbolic procedure name and various optional items that
describe the procedure in detail.
Syntax for C Programmers
Syntax for TAL Programmers
Note. This procedure can be used only with TNS code. A comparable service is provided for
accelerated code and native code using the HIST_INIT_ procedure with the HO_Init_Address
option.
#include <cextdecs(ADDRTOPROCNAME)>
short ADDRTOPROCNAME ( short p-reg
,short stack-env
,char *proc-name
,short proc-name-size
,short *proc-name-length
,[short *base ]
,[short *size ]
,[short *entry ]
,[short *attributes ]
,[short pin ] );
error := ADDRTOPROCNAME ( p-reg ! i
,stack-env ! i
,proc-name ! o
,proc-name-size ! i
,proc-name-length ! o
,[ base ] ! o
,[ size ] ! o
,[ entry ] ! o
,[ attributes ] ! o
,[ pin ] ); ! i