OSFree

C Specification

#include <revolution/os.h>
void OSFree(void* ptr);

Arguments

ptr Non-null pointer to the object previously allocated by the OSAlloc or OSAllocFromHeap function.

Return Values

None.

Description

Although this function is provided for compatibility's sake, we recommend using the MEM library.

Deallocates memory referenced by the pointer to the current heap ptr.

See Also

Memory Allocation Functions, OSAlloc, OSAllocFromHeap, OSSetCurrentHeap

Revision History

2006/03/01 Initial version.


CONFIDENTIAL