summaryrefslogtreecommitdiff
path: root/src/linux/signalfd.c
blob: ecda263e32a749566f3a7066da282a6b8b8b16d4 (plain)
1
2
3
4
5
6
7
#include <sys/signalfd.h>
#include "syscall.h"

int signalfd(int fd, const sigset_t *sigs, int flags)
{
	return syscall3(__NR_signalfd, fd, (long)sigs, 8);
}