Skip to content

Commit 67005e0

Browse files
authored
Merge pull request #1860 from joshtriplett/cld
Add CLD_ constants
2 parents 7476df0 + 2205051 commit 67005e0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/unix/linux_like/mod.rs

+7
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,13 @@ pub const PIPE_BUF: usize = 4096;
10271027

10281028
pub const SI_LOAD_SHIFT: ::c_uint = 16;
10291029

1030+
pub const CLD_EXITED: ::c_int = 1;
1031+
pub const CLD_KILLED: ::c_int = 2;
1032+
pub const CLD_DUMPED: ::c_int = 3;
1033+
pub const CLD_TRAPPED: ::c_int = 4;
1034+
pub const CLD_STOPPED: ::c_int = 5;
1035+
pub const CLD_CONTINUED: ::c_int = 6;
1036+
10301037
pub const SIGEV_SIGNAL: ::c_int = 0;
10311038
pub const SIGEV_NONE: ::c_int = 1;
10321039
pub const SIGEV_THREAD: ::c_int = 2;

0 commit comments

Comments
 (0)