commit | 96b1323a403bbd946487e4107a076b0a307136b1 | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Fri Sep 18 20:39:07 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Sep 18 20:39:07 2015 +0000 |
tree | 9517270904e4008025d077f6d7c70c3b7c15d1d2 | |
parent | 7c4604518bcd27e27fb305388188275f49dea468 [diff] | |
parent | c6043f6b27dc8961890fed12ddb5d99622204d6d [diff] |
Merge "Define WIFCONTINUED()"
diff --git a/libc/include/sys/wait.h b/libc/include/sys/wait.h index 12b7308..2317b02 100644 --- a/libc/include/sys/wait.h +++ b/libc/include/sys/wait.h
@@ -44,6 +44,7 @@ #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)