Re: A zvt fork question
- From: Havoc Pennington <hp redhat com>
- To: Hassan Aurag <aurag crm umontreal ca>
- Cc: gnome-devel-list gnome org
- Subject: Re: A zvt fork question
- Date: 15 Dec 1999 09:46:58 -0500
Hassan Aurag <aurag@crm.umontreal.ca> writes:
> then I get two numbers, the exit number which is 0 for success and
> before it "usually" (sometimes after it" the pid number.
>
Grab your favorite UNIX book and read about fork(). You have two
processes after the fork; each does the "print pid". The parent's pid
variable is the child's pid, the child's pid variable is 0.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]