Re: Get pid of child that has exited?
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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
討論串 (同標題文章)