Guardian Procedure Calls Reference Manual

POOL_GETINFO_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Example
Related Programming Manual
Summary
The POOL_GETINFO_ procedure returns information about the specified pool.
Syntax for C Programmers
#include <cextdecs(POOL_GETINFO_)>
short POOL_GETINFO_ ( short *pool
,[ short *error-detail ]
,[ __int32_t *avail-pool-size ]
,[ __int32_t *curalloc ]
,[ __int32_t *maxalloc ]
,[ __int32_t *fail-block-size ]
,[ short *curfrag ]
,[ short *maxfrag ]
,[ short *alignment ]
,[ 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_GETINFO_ ( pool ! i
,[ error-detail ] ! o
,[ avail-pool-size ] ! o
,[ curalloc ] ! o
,[ maxalloc ] ! o
,[ fail-block-size ] ! o
,[ curfrag ] ! o
,[ maxfrag ] ! o
,[ alignment ] ! 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.
942 Guardian Procedure Calls (P)