Chapter Contents |
Previous |
Next |
palloc |
Portability: | SAS/C extension |
SYNOPSIS | |
DESCRIPTION | |
RETURN VALUE | |
ERRORS | |
EXAMPLE | |
RELATED FUNCTIONS | |
SEE ALSO |
SYNOPSIS |
#include <pool.h> void *palloc(POOL_t *p);
DESCRIPTION |
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.
RETURN VALUE |
palloc
returns the address of the allocated element.
NULL
is returned if all elements are allocated and it is impossible
to extend the pool.
ERRORS |
User ABEND 1205 or 1206 may occur if memory management data areas are overlaid.
EXAMPLE |
RELATED FUNCTIONS |
SEE ALSO |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.