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

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