Skip to content

Commit 905e11d

Browse files
committed
Added more status codes
1 parent cfeead7 commit 905e11d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/wasi.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,13 @@ pub const POSIX_SPAWN_SETSIGMASK: ::c_int = 0x08;
11251125
pub const POSIX_SPAWN_SETSCHEDPARAM: ::c_int = 0x10;
11261126
pub const POSIX_SPAWN_SETSCHEDULER: ::c_int = 0x20;
11271127

1128+
pub const WNOHANG: ::c_int = 0x00000001;
1129+
pub const WUNTRACED: ::c_int = 0x00000002;
1130+
pub const WSTOPPED: ::c_int = WUNTRACED;
1131+
pub const WEXITED: ::c_int = 0x00000004;
1132+
pub const WCONTINUED: ::c_int = 0x00000008;
1133+
pub const WNOWAIT: ::c_int = 0x01000000;
1134+
11281135
#[cfg_attr(
11291136
feature = "rustc-dep-of-std",
11301137
link(

0 commit comments

Comments
 (0)