Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 1995 16:26:02 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        filo@yahoo.com, terry@cs.weber.edu
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: Ignoring SIGCHLD without having to wait()?
Message-ID:  <199507170626.QAA21504@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507170626.QAA21504>