File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
libc/include/llvm-libc-macros/linux Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 99#ifndef LLVM_LIBC_MACROS_LINUX_SYS_WAIT_MACROS_H
1010#define LLVM_LIBC_MACROS_LINUX_SYS_WAIT_MACROS_H
1111
12- // Wait flags
13- #define WNOHANG 1 // Do not block
14- #define WUNTRACED 2 // Report is a child has stopped even if untraced
15- #define WEXITED 4 // Report dead child
16- #define WCONTINUED 8 // Report if a stopped child has been resumed by SIGCONT
17- #define WSTOPPED WUNTRACED
12+ #include <linux/wait.h>
1813
1914// Wait status info macros
2015#define __WEXITSTATUS (status ) (((status)&0xff00) >> 8)
3530#define W_EXITCODE (ret , sig ) __W_EXITCODE(ret, sig)
3631#define W_STOPCODE (sig ) __W_STOPCODE(sig)
3732
38- // First argument to waitid:
39- #define P_ALL 0
40- #define P_PID 1
41- #define P_PGID 2
42- #define P_PIDFD 3
43-
4433#endif // LLVM_LIBC_MACROS_LINUX_SYS_WAIT_MACROS_H
You can’t perform that action at this time.
0 commit comments