summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/eventfd.c
blob: cc3f3f0f715ce34bcb5473b7ef1193149bb99168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* vi: set sw=4 ts=4: */
/*
 * eventfd() for uClibc
 *
 * Copyright (C) 2011 Jean-Christian de Rivaz <jc@eclis.ch>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#include <sys/eventfd.h>

/*
 * eventfd()
 */
#ifdef __NR_eventfd
_syscall2(int, eventfd, int, count, int, flags)
#endif