[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: return value by do_fork()!!
On Wed, 2 Jan 2002, Chris Wright wrote:
Your Messg->see copy_thread(). i386, for example, does 'childregs->eax = 0;' where
Your Messg->eax is the register that contains the return value when returning to
Your Messg->userspace.
Your Messg->-chris
Thanx chris ....thats what i was missing....
Thanx again.
Regards
Ketan
***
By all means marry: If you get a good wife, you'll become happy; if you
get a bad one, you'll become a philosopher.
-- Socrates
***
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/