Mercurial > hg > Members > kono > nitros9-code
changeset 578:ed2a3bb12458
All function prototypes are added.
author | roug |
---|---|
date | Fri, 01 Nov 2002 10:02:34 +0000 |
parents | 28cf27294683 |
children | dc9fb26efbad |
files | docs/ccguide/signal.refentry docs/ccguide/stacksize.refentry |
diffstat | 2 files changed, 18 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/ccguide/signal.refentry Fri Nov 01 10:02:34 2002 +0000 +++ b/docs/ccguide/signal.refentry Fri Nov 01 10:02:34 2002 +0000 @@ -8,10 +8,14 @@ <funcsynopsis> <funcsynopsisinfo> #include <signal.h> + +typedef int (*sighandler_t)(int); </funcsynopsisinfo> <funcprototype> - <funcdef><function>signal</function></funcdef> - <paramdef>type <parameter>arg1</parameter></paramdef> + <funcdef>sighandler_t <function>signal</function></funcdef> + <paramdef>int <parameter>interrupt</parameter></paramdef> + <paramdef>sighandler_t <parameter>address</parameter></paramdef> + </funcprototype> </funcsynopsis>
--- a/docs/ccguide/stacksize.refentry Fri Nov 01 10:02:34 2002 +0000 +++ b/docs/ccguide/stacksize.refentry Fri Nov 01 10:02:34 2002 +0000 @@ -21,7 +21,18 @@ <refsect1><title>Description</title> <para> -Placeholder +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>