# OS_DestroyHeap

## C Specification

      #include <nitro/os.h>

      void OS_DestroyHeap( OSArenaId id, OSHeapHandle heap );

## Arguments

id | The arena from which the heap to be destroyed.
heap | The handle of the heap to be destroyed.

## Return Values

None.

## Description

This function destroys a heap region.

The arena is specified by an arena ID. To read more about this value, see `OS_InitArena()`.

## See Also

`OS_CreateHeap
`

## Revision History

01/06/2004 Initial Version

CONFIDENTIAL