Christopher Ferris | 2598113 | 2017-11-14 16:53:49 -0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame] | 2 | #ifndef _UAPI_LINUX_WAIT_H |
| 3 | #define _UAPI_LINUX_WAIT_H |
| 4 | |
| 5 | #define WNOHANG 0x00000001 |
| 6 | #define WUNTRACED 0x00000002 |
| 7 | #define WSTOPPED WUNTRACED |
| 8 | #define WEXITED 0x00000004 |
| 9 | #define WCONTINUED 0x00000008 |
| 10 | #define WNOWAIT 0x01000000 /* Don't reap, just poll status. */ |
| 11 | |
| 12 | #define __WNOTHREAD 0x20000000 /* Don't wait on children of other threads in this group */ |
| 13 | #define __WALL 0x40000000 /* Wait on all children, regardless of type */ |
| 14 | #define __WCLONE 0x80000000 /* Wait only on non-SIGCHLD children */ |
| 15 | |
| 16 | /* First argument to waitid: */ |
| 17 | #define P_ALL 0 |
| 18 | #define P_PID 1 |
| 19 | #define P_PGID 2 |
| 20 | |
| 21 | |
| 22 | #endif /* _UAPI_LINUX_WAIT_H */ |