(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/icon.h>

BOOL AddFreeList (freelist , mem , size)

LOCATION
In IconBase at offset 12

SYNOPSIS
struct FreeList * freelist
APTR mem
unsigned long size

FUNCTION
Adds supplied memory chunk to the supplied freelist. All memory added in to the freelist can later be deallocated through one single FreeFreeList() call.

INPUTS
freelist
pointer to freelist struct previously allocated by the programmer.
mem
memory to add to the freelist.
size
size of memory chunk to add to the frelist.

RESULT
FALSE on failure, else TRUE.

EXAMPLE

SEE ALSO
FreeFreeList()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
03.02.1997 digulla
New library icon.library by N.H. Lorentzen