Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-17
POOL_GETINFO_ Procedure
Parameters
error returned value
INT
indicates the outcome of the call:
0 No error
2 Required parameter missing.
error-detail contains the number of the first
parameter found to be in error, where 1 designates the first parameter on the
left.
3 Bounds error.
error-detail contains the number of the first parameter
found to be in error, where 1 designates the first parameter on the left.
9 Corrupt pool header.
pool input
INT .EXT:ref:*
is the address of the pool as specified in the call to the POOL_DEFINE_
procedure.
error-detail output
INT .EXT:ref:1
for some returned errors, contains additional information. See
error.
avail-pool-size output
INT(32) .EXT:ref:1
is the available space in bytes in the pool, not including the pool header.
Note that the value of the
pool-size parameter specified in the POOL_DEFINE_
procedure is larger than this value because it includes the pool header.
curalloc output
INT(32) .EXT:ref:1
is the current amount of space allocated from the pool in bytes, not including the
pool header.
maxalloc output
INT(32) .EXT:ref:1
is the maximum amount of space ever allocated from the pool, in bytes, since it
was originally allocated with the POOL_DEFINE_ procedure.
maxalloc does not
include the pool header.