about summary refs log tree commit diff
path: root/src/linux/signalfd.c
blob: 94de36278bea1f6385325a2812ea657fc3a158d9 (plain) (blame)
1
2
3
4
5
6
7
8
#include <sys/signalfd.h>
#include <signal.h>
#include "syscall.h"

int signalfd(int fd, const sigset_t *sigs, int flags)
{
	return syscall(SYS_signalfd, fd, sigs, _NSIG/8);
}