From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,70dbfbd55e4bdf89,start X-Google-Attributes: gidfee84,public From: "J Grotto" Subject: Signals and defuct children Date: 1998/04/27 Message-ID: <6i2579$71h@news-central.tiac.net>#1/1 X-Deja-AN: 348099327 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: The Internet Access Company, Inc. Newsgroups: comp.unix.osf.osf1 I have a piece of C code that uses the fucntion signal(SIGCHLD, SIG_IGN); Under many UNIX environments this allows forked child processes to terminate without requiring additional handling by the parent. Under Digital UNIX however the child processes remain defunct. What is the appropriate method for handling this? If I replace the signal function with the compatibility function bsd_signal() the code works as I would expect. How are these functions different in the way they handle child process termination.