Guardian Procedure Calls Reference Manual
XSTACKTEST Procedure (Superseded by HEADROOM_ENSURE_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Summary
NOTE: This procedure cannot be called by native processes. Although this procedure is supported
for TNS processes, it should not be used for new development.
The XSTACKTEST procedure, used with LASTADDRX and XBNDSTEST procedures, checks stack
limits. XSTACKTEST ensures that adequate stack space is available and returns a set of constants
to be used with the XBNDSTEST procedure.
Syntax for C Programmers
#include <cextdecs(XSTACKTEST)>
short XSTACKTEST ( short _near *firstparam
,short stackwords
,short flags
,long long *constants );
Syntax for TAL Programmers
status := XSTACKTEST ( firstparm ! i
,stackwords ! i
,flags ! i
,constants ); ! o
Parameters
firstparm
input
INT:ref:*
points to the first parameter word of the first called procedure.
stackwords
input
INT:value
is the number of words required for the stack, starting from the firstparm location.
XSTACKTEST Procedure (Superseded by HEADROOM_ENSURE_ Procedure) 1523