summaryrefslogtreecommitdiff
path: root/src/signal/sigsuspend.c
blob: 1acdab06d1949ace1717d21cd1aa04fe19bb3fdd (plain) (blame)
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, sizeof(sigset_t));
}