projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2384f27
)
add missing flags in sys/timerfd.h
author
Rich Felker
<dalias@aerifal.cx>
Thu, 13 Dec 2012 19:15:11 +0000
(14:15 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 13 Dec 2012 19:15:11 +0000
(14:15 -0500)
include/sys/timerfd.h
patch
|
blob
|
history
diff --git
a/include/sys/timerfd.h
b/include/sys/timerfd.h
index 0afa7b0e2b4a029805cdd0a385f60144311a149b..df645fe8aef564a9de722bfad66e3c424b22705c 100644
(file)
--- a/
include/sys/timerfd.h
+++ b/
include/sys/timerfd.h
@@
-6,6
+6,12
@@
extern "C" {
#endif
#include <time.h>
+#include <fcntl.h>
+
+#define TFD_NONBLOCK O_NONBLOCK
+#define TFD_CLOEXEC O_CLOEXEC
+
+#define TFD_TIMER_ABSTIME 1
int timerfd_create(int, int);
int timerfd_settime(int, int, const struct itimerspec *, struct itimerspec *);