[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: zombie processes
On Thursday, 28 October 1999 at 16:30:24 -0400, Matt Patton wrote:
> I'm probably doing something wrong but... I'm execve's some daemons and when
> kill them, they are shoing up as zombies. The parent process that launched them
> is still around and it is doing a wait(pid). Isn't this what is supposed to
> happen? anything I might have overlooked?
The error return from wait?
The parameter of wait is a *status, not a pid. If you supply a pid,
there's a good chance that you'll get an EFAULT.
Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers