hi all, I want to understand how the fork call return 0 in child and 'pid of child' in the parent. Presently my (naive)understanding is that the %eax value is stored differently for the child and the parent. Both the child and the parent returns from fork to the same instruction address, but will have different return values according to %eax. Is my understanding correct? Can somebody point out where exaclty in the source this is taken care of? Thanks, Mugunthan
- how fork returns value srimugunthan dhandapani
- Re: how fork returns value Peter Teoh
- Re: how fork returns value Mitul Modi
- Re: how fork returns value Manish Katiyar
- Re: how fork returns value Peter Teoh
- Re: how fork returns value Lal
- Re: how fork returns value Mitul Modi
- Re: how fork returns value Lal
- Re: how fork returns value Mulyadi Santosa
- Re: how fork returns val... Peter Teoh
- Re: how fork returns... Rene Herman
