Kernel/LibC: Implement sigsuspend

This commit is contained in:
2025-08-20 20:14:54 +03:00
parent 49122cf729
commit 247743ef9c
6 changed files with 38 additions and 0 deletions

View File

@@ -164,3 +164,8 @@ int sigrelse(int sig)
(void)sigaddset(&set, sig);
return sigprocmask(SIG_UNBLOCK, &set, nullptr);
}
int sigsuspend(const sigset_t* sigmask)
{
return syscall(SYS_SIGSUSPEND, sigmask);
}