diff options
Diffstat (limited to 'src/unix/redox/mod.rs')
-rw-r--r-- | src/unix/redox/mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unix/redox/mod.rs b/src/unix/redox/mod.rs index d946f46524..61c4debb77 100644 --- a/src/unix/redox/mod.rs +++ b/src/unix/redox/mod.rs @@ -1080,6 +1080,12 @@ extern "C" { ) -> ::c_int; pub fn pthread_cancel(thread: ::pthread_t) -> ::c_int; pub fn pthread_kill(thread: ::pthread_t, sig: ::c_int) -> ::c_int; + pub fn sigtimedwait( + set: *const sigset_t, + sig: *mut siginfo_t, + timeout: *const ::timespec, + ) -> ::c_int; + pub fn sigwait(set: *const sigset_t, sig: *mut ::c_int) -> ::c_int; // stdlib.h pub fn reallocarray(ptr: *mut ::c_void, nmemb: ::size_t, size: ::size_t) -> *mut ::c_void; |