summaryrefslogtreecommitdiff
path: root/src/signal/sigsuspend.c
blob: cd3a7b59a0d46b216e285ba0d11f7b0697f9719e (plain)
1
2
3
4
5
6
7
8
#include <signal.h>
#include "syscall.h"
#include "libc.h"

int sigsuspend(const sigset_t *mask)
{
	return syscall_cp(SYS_rt_sigsuspend, mask, 8);
}