# OS_ClearAlloc

## C Specification

      #include <nitro/os.h>

      void OS_ClearAlloc( OSArenaId id );

## Description

This function clears memory allocation system information. It destroys all heaps that are created in the arena that is specified by the arena ID `id`. To use a memory allocation system on that arena again, set it up by calling the `OS_InitAlloc` function.

## Arguments

`id` | The arena ID of the arena for which all of the memory allocation system information will be cleared.

## Return Values

None.

## See Also

`OS_InitAlloc
`

## Revision History

08/30/2004 Initial Version