summaryrefslogtreecommitdiff
path: root/src/unix/bsd/mod.rs
diff options
context:
space:
mode:
authordylni <46035563+dylni@users.noreply.github.com>2020-12-21 21:31:14 -0500
committerdylni <46035563+dylni@users.noreply.github.com>2020-12-21 21:31:14 -0500
commitd116ee592d1814a40598fe068fd8c8fc6a0e68b0 (patch)
tree706cb812f08d0f305b0c62e45e359083262707de /src/unix/bsd/mod.rs
parentc7b9771cee8ff72954fc013d896e3b703c16db05 (diff)
downloadrust-libc-d116ee592d1814a40598fe068fd8c8fc6a0e68b0.tar.gz
Define CLD_ constants for more targets
Diffstat (limited to 'src/unix/bsd/mod.rs')
-rw-r--r--src/unix/bsd/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/unix/bsd/mod.rs b/src/unix/bsd/mod.rs
index b9a0a14ef8..1744d8de1a 100644
--- a/src/unix/bsd/mod.rs
+++ b/src/unix/bsd/mod.rs
@@ -439,6 +439,13 @@ pub const TCP_MAXSEG: ::c_int = 2;
pub const PIPE_BUF: usize = 512;
+pub const CLD_EXITED: ::c_int = 1;
+pub const CLD_KILLED: ::c_int = 2;
+pub const CLD_DUMPED: ::c_int = 3;
+pub const CLD_TRAPPED: ::c_int = 4;
+pub const CLD_STOPPED: ::c_int = 5;
+pub const CLD_CONTINUED: ::c_int = 6;
+
pub const POLLIN: ::c_short = 0x1;
pub const POLLPRI: ::c_short = 0x2;
pub const POLLOUT: ::c_short = 0x4;