Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2007 23:16:42 -0400
From:      "Michael B Allen" <ioplex@gmail.com>
To:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Get pid of child that has exited?
Message-ID:  <78c6bd860707202016h2e9bf369oee7d14792fb1cf4c@mail.gmail.com>
In-Reply-To: <78c6bd860707201923x5d94d609s8715ce58282d865@mail.gmail.com>
References:  <78c6bd860707201923x5d94d609s8715ce58282d865@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/20/07, Michael B Allen <ioplex@gmail.com> wrote:
> Hello,
>
> How does one get the pid if a child process that has exited? On other
> systems this is available in siginfo_t but si_pid seems to be 0. Is
> that normal?

Nevermind. I see siginfo_t isn't portable. I'm using waitpid now.

Mike



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