home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
122.lha
/
Arp_v1.1
/
Pro_Docs
/
Old_Pages
/
ArpAlloc
< prev
next >
Wrap
Text File
|
1986-11-20
|
935b
|
67 lines
ArpAlloc(31.0) ARP Programmers Manual ArpAlloc(31.0)
NAME
ArpAlloc - Allocate memory and track.
SYNOPSIS
Memory = ArpAlloc( size_in_bytes )
d0 d0
FUNCTION
Allocate public, cleared memory and track. This memory will
be automatically eased for you when you CloseLibrary() or
ArpExit().
INPUTS
size_in_bytes - Amount of memory required.
RESULT
Memory - Pointer to a memory block with attributes
MEMF_PUBLIC | MEMF_CLEAR) or NULL, if an error
occurred.
TRACKER - Pointer to the tracker in A1, or in the
LastTracker variable if calling from 'C'.
BUGS
None known.
REMEMBER
You must call CloseLibrary(ArpBase) or ArpExit() or
FreeTrackedItem( TRACKER ) to free this memory.
SEE ALSO
GetTracker(), FreeTrackedItem(), ArpExit(), OpenLibrary()
AUTHOR
SDB
Page 1 (printed 2/22/88)