a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 icon.library
  AddFreeList
  BumpRevision
  ChangeToSelectedIconColor
  DeleteDiskObject
  DrawIconStateA
  DupDiskObjectA
  FindToolType
  FreeDiskObject
  FreeFreeList
  GetDefDiskObject
  GetDiskObject
  GetDiskObjectNew
  GetIconRectangleA
  GetIconTagList
  IconControlA
  LayoutIconA
  MatchToolValue
  NewDiskObject
  PutDefDiskObject
  PutDiskObject
  PutIconTagList
Include
GuruMeditation
Docs » Autodocs » icon.library » AddFreeList

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

RESULT

	status -- TRUE if the call succeeded else FALSE;

SEE ALSO

exec.library/AllocEntry(), exec.library/FreeEntry(), icon.library/FreeFreeList(), <workbench/workbench.h>

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Anthrox

ATX
PHA
ANA
SPB

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se