Guardian Programming Reference Summary for C

Functions Summary (D-F)
Guardian Programming Reference Summary for C522630-001
5-6
return value:
DEFINEPOOL
(superseded by POOL_CHECK_, POOL_DEFINE_, POOL_GETINFO_,
POOL_GETSPACE_, POOL_PUTSPACE_, and POOL_RESIZE_) Designates a
portion of a user’s stack or an extended data segment for use as a pool.
status
0 = Successful.
2049 = A syntax error occurred in name.
2051 = DEFINE not found.
2052 = Unable to obtain file-system buffer space.
2054 = Parameter address is bad.
2066 = Missing parameter.
2060 = No more DEFINEs.
#include <cextdecs(DEFINEPOOL)>
short DEFINEPOOL ( short *pool-head /* o */
,short *pool /* i */
,long pool-size ); /* i */
0=No error.
1 = Bounds error on pool-head.
2 = Bounds error on pool.
3 = Invalid pool-size.
4=The pool-head and pool parameters overlap.
5=The pool-head parameter is not word-aligned.
6=The pool parameter is not word-aligned.