Re: sys_fork

HIToC <[email protected]>
Newsgroups org.kernel.vger.linux-assembly
Message-ID <[email protected]>
Yes, the problem was that I do not considered the value in EAX!
A possible solution to free system resources used by chlid, is to call
sys_waitpid with argument pid setted to 0 and waiting until the
value returned in EAX is greater than 0...
Now I understand some more thing over the fork system call!!

Thanks a lot!!
HIToC


On Monday 28 November 2005 20:25, Ricardo Nabinger Sanchez wrote:
> you should test here whether eax is < 0 (error), 0 (child) or > 0 (parent)


-- 
With regards,


					HIToC
					[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.