On Fri, Nov 15, 2002 at 07:09:03AM -0500, Zoltan Szabo wrote:
> Hi
> 
> I have a little problem.
> If I have two C programs: 
> start1
> child1
> 
> "child1" is started from "start1", how can i get in the starter program the PID of 
>the child program?

It's the return value from fork().

I refer you to the man page for fork:

        man fork

-- 
-------------------------------------------------------------------------------
 .----    Fred Smith    /              
( /__  ,__.   __   __ /  __   : /     
 /    /  /   /__) /  /  /__) .+'           Home: [EMAIL PROTECTED] 
/    /  (__ (___ (__(_ (___ / :__                                 781-438-5471 
-------------------------------- Jude 1:24,25 ---------------------------------



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to