Guardian Procedure Calls Reference Manual
ADDRTOPROCNAME Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Example
Summary
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.
The ADDRTOPROCNAME procedure 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
#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 ] );
Syntax for TAL Programmers
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
Parameters
p-reg
input
INT:value
is the target procedure's P register setting.
54 Guardian Procedure Calls (A-B)