From owner-freebsd-hackers Sun Jul 16 23:31:00 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA04229 for hackers-outgoing; Sun, 16 Jul 1995 23:31:00 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id XAA04198 for ; Sun, 16 Jul 1995 23:30:28 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id QAA21504; Mon, 17 Jul 1995 16:26:02 +1000 Date: Mon, 17 Jul 1995 16:26:02 +1000 From: Bruce Evans Message-Id: <199507170626.QAA21504@godzilla.zeta.org.au> To: filo@yahoo.com, terry@cs.weber.edu Subject: Re: Ignoring SIGCHLD without having to wait()? Cc: freebsd-hackers@FreeBSD.org Sender: hackers-owner@FreeBSD.org Precedence: bulk >The default behaviour is to send a signal and to reap the child. >I believe that the "ignore" is supposed to work: that is, it will cause >the exit status to be automatically reaped. That is, _exit will check >the mask on the parent process and react accordingly. I can't see any support for it in FreeBSD. POSIX says that the behaviour for ignoring SIGCHLD is unspecified. You should use sigaction and the POSIX SA_NOCLDSTOP to avoid being bothered by stopped children. Bruce