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