Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (O-Q)
Guardian Programming Reference Summary for pTAL and TAL522631-001
7-15
POOL_GETSPACE_
Obtains a block of memory from a buffer pool.
error INT returned value
0 No error.
2 Required parameter missing. The error-detail parameter contains the number of
the first parameter found to be in error, where 1 designates the first parameter on the left.
3 Bounds error. The error-detail parameter 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, INT .EXT:ref:* input
error-detail, INT .EXT:ref:1 output
avail-pool-size, INT(32) .EXT:ref:1 output
curalloc, INT(32) .EXT:ref:1 output
maxalloc, INT(32) .EXT:ref:1 output
fail-block-size, INT(32) .EXT:ref:1 output
curfrag, INT .EXT:ref:1 output
maxfrag, INT .EXT:ref:1 output
alignment, INT .EXT:ref:1 output
tag-size, INT .EXT:ref:1 output
block := POOL_GETSPACE_ ( pool
,block-size
,[ error ] );
block, INT(32) returned value
pool, INT .EXT:ref:* input
block-size, INT(32):value input
error, INT .EXT:ref:1 output
0 No error.
2 Required parameter missing.