projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix segfault in lutimes when tv argument is NULL
[musl]
/
include
/
sys
/
eventfd.h
diff --git
a/include/sys/eventfd.h
b/include/sys/eventfd.h
index
13bc9c4
..
dc5c88f
100644
(file)
--- a/
include/sys/eventfd.h
+++ b/
include/sys/eventfd.h
@@
-6,12
+6,13
@@
extern "C" {
#endif
#include <stdint.h>
#endif
#include <stdint.h>
+#include <fcntl.h>
typedef uint64_t eventfd_t;
#define EFD_SEMAPHORE 1
typedef uint64_t eventfd_t;
#define EFD_SEMAPHORE 1
-#define EFD_CLOEXEC
02000000
-#define EFD_NONBLOCK
04000
+#define EFD_CLOEXEC
O_CLOEXEC
+#define EFD_NONBLOCK
O_NONBLOCK
int eventfd(unsigned int, int);
int eventfd_read(int, eventfd_t *);
int eventfd(unsigned int, int);
int eventfd_read(int, eventfd_t *);