Re: [gtk-list] Defunct processes after fork/_exit



On Fri, Jul 16, 1999 at 04:41:22PM +0000, robert_gasch@peoplesoft.com wrote:

> I've written some code that forks and does some useful
> work in the child process. While the child process is executing,
> everything is fine, but once it terminates and calls _exit(0) the
> process listing shows it as being defunct:

You must reap your children with one of the wait (2) family of system calls.

-- 
James Bailie
http://members.home.net/jazzturk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]