Guardian Procedure Calls Reference Manual
XBNDSTEST Procedure (Superseded by REFPARAM_BOUNDSCHECK[64]_
Procedures)
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 XBNDSTEST procedure aids user programs in checking stack limits or parameter addresses.
(LASTADDRX provides a similar function.) XBNDSTEST uses constants obtained from another
procedure, XSTACKTEST, to check a specified address and its length for potential bounds violations.
Syntax for C Programmers
#include <cextdecs(XBNDSTEST)>
short XBNDSTEST ( char *param
,short bytelen
,short flags
,long long constants );
Syntax for TAL Programmers
status := XBNDSTEST ( param ! i
,bytelen ! i
,flags ! i
,constants ); ! i
Parameters
param
input
STRING .EXT:ref:*
is the parameter to be bounds-checked.
bytelen
input
INT:value
is the unsigned length of the parameter, in bytes {0:65535}.
XBNDSTEST Procedure (Superseded by REFPARAM_BOUNDSCHECK[64]_ Procedures) 1521