anlex N wrote: > https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_wait.h.html > > I am using the sys_wait module in MinGW.
There's no point for Gnulib's <sys/wait.h> replacement to define WEXITED, WNOWAIT, WSTOPPED, since these are only intended as options to waitid() [1], as long as Gnulib does not provide a replacement for waitid() [2]. And a replacement for waitid() is not needed, since programs prefer waitpid() over waitid(). Bruno [1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_wait.h.html [2] https://www.gnu.org/software/gnulib/manual/html_node/waitid.html