Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual—522629-013
13-67
RESIZEPOOL Procedure
(Superseded by POOL_* Procedures)
RESIZEPOOL Procedure 
(Superseded by POOL_* Procedures)  
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary     
RESIZEPOOL changes the size of a pool that was initialized by the DEFINEPOOL 
procedure. 
Syntax for C Programmers   
•
CEXTDECS (via 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
returns a file-system error code indicating the outcome of the call:
0 Successful call; the size of the specified pool had been changed to 
new-
pool-size.
12 The call would shrink the pool too much, leaving less area than that reserved 
by GETPOOL; the reserved blocks must be returned by a PUTPOOL.
Note. This procedure is supported for compatibility with previous software and should not be 
used for new development. *POOL procedures are replaced by POOL_* procedures. There is 
no one-for-one replacement.
#include <cextdecs(RESIZEPOOL)>
short RESIZEPOOL ( short *pool-head 
 ,__int32_t new-pool-size );
error := RESIZEPOOL ( pool-head ! i,o
 ,new-pool-size ); ! i










