[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: WEXITED/WCONTINUED
From: |
Svante Signell |
Subject: |
Re: WEXITED/WCONTINUED |
Date: |
Sun, 27 Dec 2020 12:38:03 +0100 |
User-agent: |
Evolution 3.30.5-1 |
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!