Mercurial > hg > Members > kono > nitros9-code
view docs/ccguide/stacksize.refentry @ 2798:b70d93f8d7ce lwtools-port
Updated coco1/modules/makefile and coco3/modules/makefile to help resolve issues with i(x) and s(x) descriptors.
Updated level1/coco1/modules/makefile & level2/coco3/modules/makefile
so that correct values would be sent to assembler when
building superdesc.asm for s(x).dd and i(x).dd descriptors.
author | drencor-xeen |
---|---|
date | Mon, 28 Jan 2013 16:13:05 -0600 |
parents | 8a16d38f3d94 |
children |
line wrap: on
line source
<refentry id="stacksize"> <refnamediv> <refname>Stacksize</refname> <refname>Freemem</refname> <refpurpose>obtain stack reservation size</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef><function>stacksize</function></funcdef> <void/> </funcprototype> <funcprototype> <funcdef><function>freemem</function></funcdef> <void/> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1><title>Description</title> <para> For a description of the meaning and use of this call, the user is referred to the Memory Management section of this manual. </para> <para> If the stack check code is in effect, a call to stacksize will return the maximum number of bytes of stack used at the time of the call. This call can be used to determine the stack size required by a program. </para> <para> Freemem() will return the number of bytes of the stack that has not been used. </para> </refsect1> <refsect1><title>See Also</title> <para> <link linkend="sbrk">ibrk(), sbrk()</link>, Global variable "memend" and value "end". </para> </refsect1> </refentry>