Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-25
POOL_RESIZE_ Procedure
POOL_RESIZE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
The POOL_RESIZE_ procedure changes the size of a pool that was initialized by the 
POOL_DEFINE_ procedure.  
Syntax for C Programmers    
•
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         
Parameters 
error returned value
INT
indicates the outcome of the call:
0 No error.
2 Required parameter missing.
3 Bounds error. 
pool is in a read-only segment, or new-pool-size is larger 
than the available space.
4 Invalid size. 
new-pool-size is too small to allocate the minimum size pool, 
including the pool header.
9 Corrupt pool header.
#include <cextdecs(POOL_RESIZE_)>
short POOL_RESIZE_ ( short *pool 
 ,__int32_t new-pool-size );
error := POOL_RESIZE_ ( pool ! i
 ,new-pool-size ); ! i










