Get pid of child that has exited?

Michael B Allen ioplex at gmail.com
Sat Jul 21 03:16:43 UTC 2007


On 7/20/07, Michael B Allen <ioplex at 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


More information about the freebsd-hackers mailing list