linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to return a pointer to pointer
@ 2007-10-06 11:28 Lope De Vega
  2007-10-06 16:45 ` Robert Plantz
  0 siblings, 1 reply; 4+ messages in thread
From: Lope De Vega @ 2007-10-06 11:28 UTC (permalink / raw)
  To: linux-assembly

Hi list!

I'm wondering how do you guys use to do when you need
to return a pointer to a pointer from within a
function?

if I use local storage it get's swept out during
function's return.

I've though on pushing $0 onto the stack after or
before such a function's arguments, so I could either
store on it during this function's execution and then
moving it to eax at it's end so it will be visible

Any hints or comments?

Thanks.




       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-08 23:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-06 11:28 how to return a pointer to pointer Lope De Vega
2007-10-06 16:45 ` Robert Plantz
2007-10-08 16:36   ` Lope De Vega
2007-10-08 23:38     ` Robert Plantz

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).