2 * SYSCALL_DEFINE2(eventfd2, unsigned int, count, int, flags)
4 * On success, eventfd() returns a new eventfd file descriptor.
5 * On error, -1 is returned and errno is set to indicate the error.
8 #define EFD_SEMAPHORE 1
9 #define EFD_CLOEXEC 02000000
10 #define EFD_NONBLOCK 04000
14 struct syscallentry syscall_eventfd2
= {
23 .values
= { EFD_CLOEXEC
, EFD_NONBLOCK
, EFD_SEMAPHORE
},