Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-272
PUTPOOL Procedure
(Superseded by POOL_* Procedures)
PUTPOOL Procedure
(Superseded by POOL_* Procedures)
BOOKMARK
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Example
Related Programming Manual
Summary
The PUTPOOL procedure returns a block of memory to a buffer pool.
Syntax for C Programmers
The function value returned by PUTPOOL, which indicates the condition code, can be
interpreted by the
_status_lt(), _status_eq(), or _status_gt() function
(defined in the file
tal.h).
Syntax for TAL Programmers
Parameters
pool-head input, output
INT .EXT:ref:19
is the address of the pool head of the pool from which the block of memory was
obtained using GETPOOL.
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(PUTPOOL)>
_cc_status PUTPOOL( short *pool-head
,char *pool-block );
CALL PUTPOOL ( pool-head ! i,o
,pool-block ); ! i