Implement sigsuspend.

This commit is contained in:
4lDO2
2024-08-04 18:31:24 +02:00
parent 33f0df3b27
commit 8e5ddbd654
5 changed files with 34 additions and 22 deletions
+1 -1
View File
@@ -359,7 +359,7 @@ pub unsafe extern "C" fn sigset(
#[no_mangle]
pub unsafe extern "C" fn sigsuspend(sigmask: *const sigset_t) -> c_int {
Sys::sigsuspend(&*sigmask)
Err(Sys::sigsuspend(&*sigmask)).or_minus_one_errno()
}
#[no_mangle]