# OS_DestroyHeap

## C Specification

      #include <nitro/os.h>

      void OS_DestroyHeap( OSArenaId id, OSHeapHandle heap );

## Description

This function destroys a heap region. The arena is specified by an arena ID. For more information about this value see `OS_InitArena`.

## Arguments

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

## Return Values

None.

## See Also

`OS_CreateHeap`

## Revision History

01/06/2004 Initial version