summaryrefslogtreecommitdiffstats
path: root/libc/include/sys/eventfd.h
diff options
context:
space:
mode:
authorKeith Deacon <kdeacon@ti.com>2010-09-08 03:06:26 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-08 03:06:26 -0700
commitd7b156d2a38e58ab1e5f9e6a4b420588aeb78b46 (patch)
tree82718a47675d9de458ac38d7481589d5230923ac /libc/include/sys/eventfd.h
parent9579ee380c06f1ac6ca85c78d5172c82f10555d0 (diff)
parent3a1bbee36b773862e88c6f1895b607c0cd81b499 (diff)
downloadbionic-d7b156d2a38e58ab1e5f9e6a4b420588aeb78b46.zip
bionic-d7b156d2a38e58ab1e5f9e6a4b420588aeb78b46.tar.gz
bionic-d7b156d2a38e58ab1e5f9e6a4b420588aeb78b46.tar.bz2
am 3a1bbee3: Add eventfd system call support
Merge commit '3a1bbee36b773862e88c6f1895b607c0cd81b499' into gingerbread-plus-aosp * commit '3a1bbee36b773862e88c6f1895b607c0cd81b499': Add eventfd system call support
Diffstat (limited to 'libc/include/sys/eventfd.h')
-rw-r--r--libc/include/sys/eventfd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/include/sys/eventfd.h b/libc/include/sys/eventfd.h
new file mode 100644
index 0000000..0e142fd
--- /dev/null
+++ b/libc/include/sys/eventfd.h
@@ -0,0 +1,14 @@
+#ifndef _SYS_EVENTFD_H_
+#define _SYS_EVENTFD_H_
+
+#include <sys/cdefs.h>
+#include <asm/unistd.h>
+#include <asm/termbits.h>
+
+__BEGIN_DECLS
+
+extern int eventfd(int count, int flags);
+
+__END_DECLS
+
+#endif /* _SYS_EVENTFD_H_ */