diff options
author | dylni <46035563+dylni@users.noreply.github.com> | 2020-12-21 21:31:14 -0500 |
---|---|---|
committer | dylni <46035563+dylni@users.noreply.github.com> | 2020-12-21 21:31:14 -0500 |
commit | d116ee592d1814a40598fe068fd8c8fc6a0e68b0 (patch) | |
tree | 706cb812f08d0f305b0c62e45e359083262707de /src/unix/bsd/mod.rs | |
parent | c7b9771cee8ff72954fc013d896e3b703c16db05 (diff) | |
download | rust-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.rs | 7 |
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; |