Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (O-Q)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
7-14
POOL_DEFINE_
Designates a portion of a user's stack or an extended data segment for use as a pool.
POOL_GETINFO_
Returns information about the specified pool.
error := POOL_DEFINE_ ( pool
,pool-size
,[ alignment ]
,[ priv-only ] );
error, INT returned value
0 No error.
2 Required parameter missing. The pool and pool-size parameters must be
specified.
3 Bounds error. The pool parameter is in a writeback-inhibit segment, or pool-size is
larger than the space available, or a nonprivileged caller specified a nonzero value for
priv-only.
4 Invalid size. The pool-size parameter is too small to allocate the minimum size pool
including the pool header.
5 Alignment error on pool. The pool parameter is not in alignment with the selected
alignment.
6 Invalid alignment. The value of alignment is not 0, 4, 8, or 16.
pool INT .EXT:ref:* input
pool-size INT(32):value input
alignment INT:value input
priv-only input
error := POOL_GETINFO_ ( pool
,[ error-detail ]
,[ avail-pool-size ]
,[ curalloc ]
,[ maxalloc ]
,[ fail-block-size ]
,[ curfrag ]
,[ maxfrag ]
,[ alignment ]
,[ tag-size ] );