Guardian Programming Reference Summary for C
Functions Summary (O-Q)
Guardian Programming Reference Summary for C—522630-001
7-8
POOL_CHECK_ 
Checks the internal pool data structures and returns error information.
error
POOL_DEFINE_ 
Designates a portion of a user's stack or an extended data segment for use as a pool.
returned value:
#include <cextdecs(POOL_CHECK_)>
short POOL_CHECK_ ( short *pool /* i */
 ,[ long *corruption-address ] /* o */
 ,[ long *block ] /* o */
 ,[ long *block-size ] /* o */
 ,[ short *tag-size ] ); /* o */
0=No error. 
2 = Required parameter missing. The pool parameter must be specified.
3 = Bounds error. A parameter on the parameter list has a bounds error.
9 = Corrupt pool header. 
11 = Corrupt allocated blocks. Data is probably written beyond the allocated 
block. 
12 = Corrupt free list blocks. Data is probably written into a returned block. 
#include <cextdecs(POOL_DEFINE_)>
short POOL_DEFINE_ ( short *pool /* i */
  ,long pool-size /* i */
 ,[ short alignment ] /* i */
 ,[ short priv-only ] );/* i */
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. 










