summaryrefslogtreecommitdiff
path: root/lib/libc/signal/sigsuspend.c
blob: a7de0c02d76812c26c76eb2f64d650fa3c28013b (plain)
1
2
3
4
5
6
7
8
9


#include <signal.h>  // for sigset_t, sigsuspend
#include <syscall.h> // for __syscall_2, syscall

int sigsuspend(const sigset_t *sigmask)
{
	return syscall(rt_sigsuspend, sigmask, sizeof(sigset_t));
}