Guardian Programming Reference Summary for C

Functions Summary (O-Q)
Guardian Programming Reference Summary for C522630-001
7-10
error
POOL_PUTSPACE_
Returns a block of memory to a buffer pool.
returned value:
POOL_RESIZE_
Returns a block of memory to a buffer pool.
returned value:
0=No error.
2 = Required parameter missing.
4 = Invalid block size. The value of block-size is not within the valid range.
9 = Corrupt pool header.
10 = Unable to allocate space.
#include <cextdecs(POOL_PUTSPACE_)>
short POOL_PUTSPACE_ ( short *pool /* i */
,short *block );/* i */
0=No error.
2 = Required parameter missing.
3 = Bounds error. The value of block is not within the pool boundaries.
9 = Corrupt pool header.
11 = Corrupt allocated block. Data is probably written beyond the allocated block
or the block has already been returned.
#include <cextdecs(POOL_RESIZE_)>
short POOL_RESIZE_ ( short *pool /* i */
,long new-pool-size );/* i */
0=No error.
2 = Required parameter missing.
3 = Bounds error. The pool parameter is in a writeback-inhibit segment, or
new-pool-size is larger than the available space.