On Sun, 2020-12-27 at 01:13 +0100, Samuel Thibault wrote: > Hello, > > For information, I am currently landing patches to implemented > waitid's > WEXITED/WCONTINUED/etc.
Linux has in /usr/include/x86_64-linux-gnu/bits/waitflags.h: # define WEXITED 4 /* Report dead child. */ # define WCONTINUED 8 /* Report continued child. */ Why did you choose in proc/wait.c: +#ifndef WCONTINUED +#define WCONTINUED 4 +#endif + +#ifndef WEXITED +#define WEXITED 16 +#endif Any specific reason? Thanks!