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:
f5638c2
)
add TFD_TIMER_CANCEL_ON_SET that timerfd.h was missing
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 5 Mar 2017 23:54:52 +0000
(23:54 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 5 Nov 2017 23:40:58 +0000
(18:40 -0500)
linux commit
575b1967e10a1f3038266244d2c7a3ca6b99fed8
moved timerfd
apis to a new uapi header which showed musl was missing this flag.
include/sys/timerfd.h
patch
|
blob
|
history
diff --git
a/include/sys/timerfd.h
b/include/sys/timerfd.h
index 9724d903472c52b5ec4528604816c9601047e317..2794d36a6c2b2b37e8f7f2d4f28c02e85223de06 100644
(file)
--- a/
include/sys/timerfd.h
+++ b/
include/sys/timerfd.h
@@
-12,6
+12,7
@@
extern "C" {
#define TFD_CLOEXEC O_CLOEXEC
#define TFD_TIMER_ABSTIME 1
+#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
struct itimerspec;