diff options
| author | Malcolm Still <malcolm.still@gmail.com> | 2021-07-10 21:56:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-10 16:56:41 -0400 |
| commit | a3703745eb21923b96e807b9163d303b8e4447b7 (patch) | |
| tree | f926020d9b528a79b825677b44c225295c06bc18 /lib/std/os/bits/linux.zig | |
| parent | 9d1fb98fa87b09838310ba4ebf988617ed49a1c9 (diff) | |
| download | zig-a3703745eb21923b96e807b9163d303b8e4447b7.tar.gz zig-a3703745eb21923b96e807b9163d303b8e4447b7.zip | |
Add waitid syscall on linux (#9335)
Diffstat (limited to 'lib/std/os/bits/linux.zig')
| -rw-r--r-- | lib/std/os/bits/linux.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/std/os/bits/linux.zig b/lib/std/os/bits/linux.zig index 7501d54bbe..69fdbc84fb 100644 --- a/lib/std/os/bits/linux.zig +++ b/lib/std/os/bits/linux.zig @@ -204,6 +204,15 @@ pub const WEXITED = 4; pub const WCONTINUED = 8; pub const WNOWAIT = 0x1000000; +// waitid id types +pub const P = enum(c_uint) { + ALL = 0, + PID = 1, + PGID = 2, + PIDFD = 3, + _, +}; + pub usingnamespace if (is_mips) struct { pub const SA_NOCLDSTOP = 1; |
