Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 1999 08:42:57 +1300
From:      Jonathan Chen <jonc@logisticsoftware.co.nz>
To:        =?iso-8859-1?Q?=B1=E8=BC=BA=BF=EC?= <success@ecoin.co.kr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: defunct problem
Message-ID:  <19991224084256.C38603@jonc.logisticsoftware.co.nz>
In-Reply-To: <000c01bf4d19$538ffe10$31977ed2@george>; from success@ecoin.co.kr on Thu, Dec 23, 1999 at 04:42:54PM %2B0900
References:  <000c01bf4d19$538ffe10$31977ed2@george>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 23, 1999 at 04:42:54PM +0900, ±è¼º¿ì wrote:

> Hello.
> I am programming on FreeBSD, and I meet a defunct problem.
> I'm using C language and the function using on my program is just fork().
> When the child is terminated normally, the child does not disappear and remains as defunct.

You'll have to use one of the wait(2) functions on the parent to reap
the dead-child - that's the more portable solution.
-------------------------------------------------------------------
Jonathan Chen                       |      -insert-witty-quip-here-
-------------------------------------------------------------------


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?19991224084256.C38603>