From: Latchesar Ionkov <lucho@gmx.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] calling function with (variable number of) parameters
Date: Thu, 21 Jun 2001 09:48:58 -0400 [thread overview]
Message-ID: <20010621094858.A2471@gmx.net> (raw)
In-Reply-To: <3B31E39D.F4C8AFF8@null.net>; from DAGwyn@null.net on Thu, Jun 21, 2001 at 12:39:50PM +0000
On Thu, Jun 21, 2001 at 12:39:50PM +0000, Douglas A. Gwyn said:
> Latchesar Ionkov wrote:
> > function returns, I don't know how many args I have to pop from the stack.
> > And I can't get the number from a local variable, because I don't know the
> > frame pointer anymore
>
> So use a global variable. It's already a crock anyway..
the function has to be reentrant.
thanks for all the suggestions. obviously i'll reserve constant space in the
stack for the arguments.
Lucho
next prev parent reply other threads:[~2001-06-21 13:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-20 19:51 rog
2001-06-20 19:54 ` Latchesar Ionkov
2001-06-21 12:39 ` Douglas A. Gwyn
2001-06-21 13:48 ` Latchesar Ionkov [this message]
2001-06-21 14:13 ` Dan Cross
-- strict thread matches above, loose matches on Subject: below --
2001-06-21 14:33 rog
2001-06-21 15:16 ` Dan Cross
2001-06-21 15:17 ` Latchesar Ionkov
2001-06-29 22:11 ` Boyd Roberts
2001-06-20 14:11 Latchesar Ionkov
2001-06-20 16:30 ` Douglas A. Gwyn
2001-06-20 18:23 ` Latchesar Ionkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010621094858.A2471@gmx.net \
--to=lucho@gmx.net \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).