Go to the documentation of this file.
8 #ifndef _LINUX_EVENTFD_H
9 #define _LINUX_EVENTFD_H
11 #include <linux/fcntl.h>
13 #include <linux/wait.h>
22 #define EFD_SEMAPHORE (1 << 0)
23 #define EFD_CLOEXEC O_CLOEXEC
24 #define EFD_NONBLOCK O_NONBLOCK
26 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
27 #define EFD_FLAGS_SET (EFD_SHARED_FCNTL_FLAGS | EFD_SEMAPHORE)