#include <pool.h> void *palloc(POOL_t *p);
palloc
allocates an element from a storage pool created by the
pool
function and returns its address. p
is a pointer (of type
POOL_t
) that points to the storage pool.
palloc
returns the address of the allocated element. NULL
is
returned if all elements are allocated and it is impossible to extend the pool.
pool
.
malloc
, pool
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.