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

int eventfd(unsigned int count, int flags)
{
	return syscall(flags ? SYS_eventfd2 : SYS_eventfd, count, flags);
}