Guardian Programming Reference Summary for C

Functions Summary (R-Z)
Guardian Programming Reference Summary for C522630-001
8-45
XBNDSTEST
(superseded by REFPARAM_BOUNDSCHECK_) Checks stack limits and/or parameter
addresses.
status
flags
_status_lt (<returned_value>) An error occurred (call FILEINFO).
_status_eq (<returned_value>) WRITEUPDATEUNLOCK[X] was
successful.
#include <cextdecs(XBNDSTEST)>
short XBNDSTEST ( char *param /* i */
,short bytelen /* i */
,short flags /* i */
,long long constants );/* i */
1 In bounds, but in a read-only segment or (on TNS/R systems only) in the system
library.
0 In bounds and writeable.
-1 Out of bounds or illegal address.
-2 Incorrectly aligned on word boundary.
-3 Undefined flag value.
-4 In bounds, but in an extensible extended data segment that cannot be extended
(usually due to lack of additional disk space for the swap file).
Bits 0-12 Must be zero.
Bit 13 Use the extended-address limits from constants.
Bit 14 The parameter must be word-aligned.
Bit 15 Skip the bounds test and return 0.