Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual522629-013
14-177
SYSTEMENTRYPOINT_RISC_ Procedure
SYSTEMENTRYPOINT_RISC_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Summary
The SYSTEMENTRYPOINT_RISC_ procedure, which is defined only for native
processes, returns either the 32-bit RISC address of the named entry point or, if not
found, the value zero.
Syntax for C Programmers
CEXTDECS (via the included file TNSINTH) defines 32-bit values as the typedef
__int32_t which for TNS and TNS/R compiles is defined as
long and for TNS/E
compiles is defined as
int.
Syntax for TAL Programmers
Parameters
risc-addr returned value
EXTADDR
is the 32-bit RISC address.
name input
STRING .EXT:ref:*
is the case-sensitive entry point name.
len input
INT:value
Note. pTAL syntax for this procedure is declared only in the EXTDECS0 file.
#include <cextdecs(SYSTEMENTRYPOINT_RISC_)>
__int32_t SYSTEMENTRYPOINT_RISC_ ( char *name
,short len );
risc-addr := SYSTEMENTRYPOINT_RISC_ ( name ! i
,len ); ! i