Date: Tue, 22 Dec 1998 01:44:53 PST From: Michael Ryan <mike@NetworX.ie> To: Jonathan Chen <jonc@pinnacle.co.nz> Cc: FreeBSD Support <questions@FreeBSD.ORG> Subject: Re: Mystery with pipe(), fork() and dup() Message-ID: <ECS9812220153E@NetworX.ie>
next in thread | raw e-mail | index | archive | help
On Tue, 22 Dec 1998 14:36:40 +1300 (NZDT) Jonathan Chen wrote: > Well, for one thing > > if (pid) > > really means: > > if (pid != 0) I know. In the context of my program if (pid == 0) means the child process will execute the code, whereas if (pid) means the parent process will execute the code. Bye, Mike mike@NetworX.ie www.NetworX.ie --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ECS9812220153E>