1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>OS_ClearAlloc</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">OS_ClearAlloc <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <PRE><CODE>#include &lt;nitro/os.h&gt;</CODE></PRE>
16  <PRE><CODE>void OS_ClearAlloc( OSArenaId id );
17  </CODE></PRE>
18</DL>
19<H2>Arguments</H2>
20<TABLE border="1" width="100%">
21  <TBODY>
22    <TR>
23      <TD width="13%"><EM><STRONG>id</STRONG></EM></TD>
24      <TD width="87%">The ID of the arena for which all of the memory allocation system information will be cleared.</TD>
25    </TR>
26  </TBODY>
27</TABLE>
28<H2>Return Values</H2>
29<P>None.</P>
30<H2>Description</H2>
31<P>This function clears memory allocation system information.</P>
32<P>It destroys all heaps that are created in the arena that is specified by the arena ID <em><strong><code>id</code></strong></em>. To use a memory allocation system on that arena again, set it up by calling the <A href="OS_InitAlloc.html"><CODE>OS_InitAlloc</CODE></A> function.
33</P>
34<H2>See Also</H2>
35<P><CODE><A href="OS_InitAlloc.html">OS_InitAlloc</A><BR></CODE></P>
36<H2>Revision History</H2>
37<P>2004/08/30 Initial version.</P>
38<hr><p>CONFIDENTIAL</p></body>
39</HTML>