Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef _UAPI_LINUX_WAIT_H |
| 8 | #define _UAPI_LINUX_WAIT_H |
| 9 | #define WNOHANG 0x00000001 |
| 10 | #define WUNTRACED 0x00000002 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 11 | #define WSTOPPED WUNTRACED |
| 12 | #define WEXITED 0x00000004 |
| 13 | #define WCONTINUED 0x00000008 |
| 14 | #define WNOWAIT 0x01000000 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 15 | #define __WNOTHREAD 0x20000000 |
| 16 | #define __WALL 0x40000000 |
| 17 | #define __WCLONE 0x80000000 |
| 18 | #define P_ALL 0 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 19 | #define P_PID 1 |
| 20 | #define P_PGID 2 |
Christopher Ferris | 9584fa4 | 2019-12-09 15:36:13 -0800 | [diff] [blame] | 21 | #define P_PIDFD 3 |
Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 22 | #endif |