Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-28
DEFINEPOOL Procedure
(Superseded by POOL_* Procedures)
DEFINEPOOL Procedure
(Superseded by POOL_* Procedures)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
The DEFINEPOOL procedure designates a portion of a user’s stack or an extended
data segment for use as a pool.
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
status returned value
INT
returns a status word having one of the following values:
0 No error
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(DEFINEPOOL)>
short DEFINEPOOL ( short *pool-head
,short *pool
,__int32_t pool-size );
status := DEFINEPOOL ( pool-head ! o
,pool ! i
,pool-size ); ! i