(C) 1998 AROS - The Amiga Research OS


NAME

void DosFreeMem (memBlock , , , )

LOCATION
In ArpBase at offset 58

SYNOPSIS
void * memBlock
DosFreeMem( memBlock
A1

FUNCTION
This function frees a memory block which was allocated using DosAllocMem or was allocated by AmigaDOS.

INPUTS
memBlock
- the pointer to the memblock returned by DosAllocMem. This pointer may also be NULL, in which case no memory will be freed. ADDITIONAL CONSIDERATIONS
BPTR
if you are passing a value obtained from AmigaDOS, make sure you convert it from a BPTR to a real pointer first!
RESULT
None.

EXAMPLE
SEE ALSO
DosAllocMem()

NOTES

BUGS
None known.

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
28.03.1998 bergers
Some new functions.