aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/linux/eventfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-headers/include/linux/eventfd.h')
-rw-r--r--linux-headers/include/linux/eventfd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/linux-headers/include/linux/eventfd.h b/linux-headers/include/linux/eventfd.h
new file mode 100644
index 0000000..b823f9d
--- /dev/null
+++ b/linux-headers/include/linux/eventfd.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef _LINUX_EVENTFD_H
+#define _LINUX_EVENTFD_H
+
+#include <linux/fcntl.h>
+
+#define EFD_SEMAPHORE (1 << 0)
+#define EFD_CLOEXEC O_CLOEXEC
+#define EFD_NONBLOCK O_NONBLOCK
+
+#endif /* _LINUX_EVENTFD_H */