summaryrefslogtreecommitdiff
path: root/src/signal/sigsuspend.c
blob: 0b42725acef2ae850fac7387545a322c893a378b (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, _NSIG/8);
}