Next: x1f4_lock_e4ll, Previous: x1f4_line_e4ll, Up: Hierarchical Resource Allocation Manager Functions [Index]
extern int x1f4_link_e4lf (void *e4ll, void **address, unsigned size);
x1f4_link_e4ll function allocates a memory segment, at least
size large and stores its start address at
allocation is done against the previous memory allocation context/scope
recorded with the
e4ll hierarchical resource allocation manager.
NB The existence of a previous memory allocation context is assumed, it is not checked.
The memory allocation context will become current once the current one expires. The function is suited for allocating memory for function returns.
The function returns
0 for success, one of the defined error codes for
See Memory Allocator Construct.
For memory allocation against the current context, the memory allocator
described by the
x1f4_line_e4ll function is to be used.