Re: [LIP] fork()...

[email protected]
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
ya,
  absouletly right sir.
 that's what i want to convey to sameer.
i think he is clear by now.

Regards,
Santosh

Sony Corporation
2-6-21 Minmi Aoyama
Minato-ku,
TOKYO 107-0062
----- Original Message ----- 
From: "Josy P. Pullockara" <[email protected]>
To: <linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Sent: Thursday, April 22, 2004 12:07 PM
Subject: Re: [LIP] fork()...


> On Thu, 2004-04-22 at 06:37, [email protected] wrote:
> > if we assume that fork() doesn't return 0 for child.
> > then what else it can return.
> > 
> > lets assume it returns parent pid, 
> > then i want to know what are the consqueces for it?
> 
> You will not know which is the parent process and which one is the child
> unless of-course you use getppid() to compare the parent process id
> which you want returned by fork.
> 
> > benefits one api will reduce. getppid();
> 
> As above this API will not reduce!
> 
> Regards.
> -- 
> Josy P. Pullockara
> 
> Scientist,                             eMail:[email protected]
> Computational and Theoretical          Phone:+91-80-2505 1627
> Fluid Dynamics Division,               Fax  :+91-80-2522 0952
> National Aerospace Laboratories        Res. :+91-80-2524 5053
> ----------------------------------------------------------------------
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
> 
> 
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
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.