Re: Get pid of child that has exited?



On 7/20/07, Michael B Allen <ioplex@xxxxxxxxx> 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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"