This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC v3 03/23] sysdeps/wait: Use waitid if avaliable
* Alistair Francis:
>> For wait/wait3/waitpid, you could probably use the implementations for
>> sysdeps/unix/bsd, layered on top of wait4.
>
> I'm not sure what you mean here.
Once you have wait4 (modulo the discussion about the process group), you
can use
#include <sysdeps/unix/bsd/waitpid.c>
to use the BSD layered implementation. Also see
sysdeps/unix/sysv/linux/wait3.c.
Thanks,
Florian