1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>OSClearStack</title>
10</head>
11
12<body>
13
14<h1>OSClearStack</h1>
15
16<h2>C Specification</h2>
17<DL>
18  <dd>
19<pre><code>#include &lt;revolution/os.h&gt;</code></pre>
20  </dd>
21  <dd>
22<pre><code>void OSClearStack ( u8 val );</code></pre>
23  </dd>
24</DL>
25<h2>Arguments</h2>
26<TABLE border="1" cellpadding="3" cellspacing="0.1">
27  <tr>
28<TD valign="top" width="120" bgcolor="#ffffe8"><em><FONT face="Courier New"><STRONG><code><EM><STRONG>val</STRONG></EM></code></STRONG></FONT></em></TD>
29<TD width="520">The value set to the current stack.</TD>
30    </tr>
31</TABLE>
32<h2>Return Values</h2>
33<P>None.</P>
34<h2>Description</h2>
35<P>Sets <STRONG><EM><CODE>val</CODE></EM></STRONG> to the stack of the thread to call.</P>
36<P><STRONG>Note:</STRONG>By default, the default stack for the <CODE>main()</CODE> function is zeroed out.</P>
37
38<h2>See Also</h2>
39<H2>Revision History</H2>
40<P>2006/03/01 Initial version.</P>
41<hr>
42<P>CONFIDENTIAL</p>
43</BODY>
44</HTML>