about summary refs log tree commit diff
path: root/src/signal/sigsuspend.c
blob: 7ce526c4dd0408bcd819f69c556a580e51d4c753 (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, SYSCALL_SIGSET_SIZE);
}