NAME
AddFreeList - add memory to a free list.
SYNOPSIS
status = AddFreeList(free, mem, len)
D0 A0 A1 A2
bool addfreelist(struct freelist *, aptr, ulong);
FUNCTION
This routine adds the specified memory to the free list.
The free list will be extended (if required). If there
is not enough memory to complete the call, NULL is returned.
Note that AddFreeList() does NOT allocate the requested memory.
It only records the memory in the free list.
INPUTS
free -- a pointer to a freelist structure
mem -- the base of the memory to be recorded
len -- the length of the memory to be recorded
RESULTS
status -- TRUE if the call succeeded else FALSE;
SEE ALSO
exec.library/allocentry
exec.library/freeentry
icon.library/freefreelist
workbench/workbench.h