From owner-freebsd-hackers Tue Jul 9 13:02:57 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA02283 for hackers-outgoing; Tue, 9 Jul 1996 13:02:57 -0700 (PDT) Received: from casparc.ppp.net (casparc.ppp.net [194.64.12.35]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA02249 for ; Tue, 9 Jul 1996 13:02:22 -0700 (PDT) Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0udiz3-000I00C; Tue, 9 Jul 96 22:02 MET DST Received: by ernie.kts.org (Smail3.1.29.1 #4) id m0udiFg-00000AC; Tue, 9 Jul 96 21:15 MET DST Message-Id: From: hm@kts.org (Hellmuth Michaelis) Subject: Re: handling SIGCHLD with multiple children To: brandon@tombstone.sunrem.com (Brandon Gillespie) Date: Tue, 9 Jul 1996 21:15:16 +0200 (MET DST) Cc: freebsd-hackers@FreeBSD.org In-Reply-To: from "Brandon Gillespie" at Jul 9, 96 12:26:35 pm Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Brandon Gillespie wrote: > > Is there _ANY_ way of finding what child sent a SIGCHLD signal to the > parent process? Call waitpid in the handler, it returns the pid of the child which caused the signal. hellmuth -- Hellmuth Michaelis hm@kts.org Hamburg, Europe (A)bort, (R)etry, (I)nstall BSD ?