From c6043f6b27dc8961890fed12ddb5d99622204d6d Mon Sep 17 00:00:00 2001 From: Greg Hackmann Date: Tue, 25 Aug 2015 17:50:29 -0700 Subject: [PATCH] Define WIFCONTINUED() Change-Id: Id0feebd90d0525f3b479eb119b942eae8ca568d1 Signed-off-by: Greg Hackmann --- libc/include/sys/wait.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/include/sys/wait.h b/libc/include/sys/wait.h index 12b73082c..2317b024f 100644 --- a/libc/include/sys/wait.h +++ b/libc/include/sys/wait.h @@ -44,6 +44,7 @@ __BEGIN_DECLS #define WIFEXITED(s) (WTERMSIG(s) == 0) #define WIFSTOPPED(s) (WTERMSIG(s) == 0x7f) #define WIFSIGNALED(s) (WTERMSIG((s)+1) >= 2) +#define WIFCONTINUED(s) ((s) == 0xffff) #define W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) #define W_STOPCODE(sig) ((sig) << 8 | 0x7f)