| new_pool - allocate a new pool |
#include <pool.h> pool new_pool (void); |
| Allocate a new pool. Pools must eventually be deleted explicitly by calling delete_pool(3). |
| Note that new_pool is now deprecated. It is almost always better to create a subpool of the global pool, ie: |
| pool = new_subpool (global_pool); |
| This has the distinct advantage that your new pool will be cleaned up properly if the process calls exit. |
| Richard Jones <rich@annexia.org> |
| GNU LGPL (see http://www.gnu.org/) |
| c2lib-1.2.13 |
| new_subpool(3), global_pool(3), delete_pool(3). |