summaryrefslogtreecommitdiff
path: root/vendor/rustix/src/backend/libc/process/wait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/backend/libc/process/wait.rs')
-rw-r--r--vendor/rustix/src/backend/libc/process/wait.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/rustix/src/backend/libc/process/wait.rs b/vendor/rustix/src/backend/libc/process/wait.rs
new file mode 100644
index 00000000..9f9810d7
--- /dev/null
+++ b/vendor/rustix/src/backend/libc/process/wait.rs
@@ -0,0 +1,17 @@
+use crate::backend::c;
+
+pub(crate) use c::{
+ WEXITSTATUS, WIFCONTINUED, WIFEXITED, WIFSIGNALED, WIFSTOPPED, WNOHANG, WSTOPSIG, WTERMSIG,
+};
+
+#[cfg(not(target_os = "horizon"))]
+pub(crate) use c::{WCONTINUED, WUNTRACED};
+
+#[cfg(not(any(
+ target_os = "cygwin",
+ target_os = "horizon",
+ target_os = "openbsd",
+ target_os = "redox",
+ target_os = "wasi",
+)))]
+pub(crate) use c::{WEXITED, WNOWAIT, WSTOPPED};