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

int sigsuspend(const sigset_t *mask)
{
	return syscall2(__NR_rt_sigsuspend, (long)mask, SYSCALL_SIGSET_SIZE);
}