summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/src/signal/sigpending.c
blob: 7deda256bda61399576f768e9abdb1883b659b55 (plain)
1
2
3
4
5
6
7
#include <signal.h>
#include "syscall.h"

int sigpending(sigset_t *set)
{
	return syscall2(__NR_rt_sigpending, (long)set, SYSCALL_SIGSET_SIZE);
}