Guardian Procedure Calls Reference Manual

POOL_CHECK_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Example
Related Programming Manual
Summary
The POOL_CHECK_ procedure checks the internal pool data structures and returns error information.
Syntax for C Programmers
#include <cextdecs(POOL_CHECK_)>
short POOL_CHECK_ ( short *pool
,[ __int32_t *corruption-address ]
,[ __int32_t *block ]
,[ __int32_t *block-size ]
,[ short *tag-size ] );
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
error := POOL_CHECK_ ( pool ! i
,[ corruption-address ] ! o
,[ block ] ! o
,[ block-size ] ! o
,[ tag-size ] ); ! o
Parameters
pool
input
INT .EXT:ref:*
is the address of the pool as specified in the call to the POOL_DEFINE_ procedure.
corruption-address
output
EXTADDR .EXT:ref:1
is defined for these values of error:
corruption-addresserror
Address of the allocated block where the corruption is detected.11
Address of the free block where the corruption is detected.12
POOL_CHECK_ Procedure 937