Guardian Procedure Calls Reference Manual
SYSTEMENTRYPOINT_RISC_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Example
Summary
NOTE: The pTAL syntax for this procedure is declared only in the EXTDECS0 file.
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
#include <cextdecs(SYSTEMENTRYPOINT_RISC_)>
__int32_t SYSTEMENTRYPOINT_RISC_ ( char *name
,short len );
• CEXTDECS (through 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
risc-addr := SYSTEMENTRYPOINT_RISC_ ( name ! i
,len ); ! i
Parameters
name
input
STRING .EXT:ref:*
is the case-sensitive entry point name.
len
input
INT:value
is the length, in bytes, of name.
Returned Value
EXTADDR
The 32-bit RISC address.
Example
EPNAME ':=' "HEADROOM_ENSURE_;
RISC^ADDR := SYSTEMENTRYPOINT_RISC_ ( EPNAME , LEN );
SYSTEMENTRYPOINT_RISC_ Procedure 1413