projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework langinfo code for ABI compat and for use by time code
[musl]
/
include
/
sys
/
timerfd.h
diff --git
a/include/sys/timerfd.h
b/include/sys/timerfd.h
index
0afa7b0
..
df645fe
100644
(file)
--- a/
include/sys/timerfd.h
+++ b/
include/sys/timerfd.h
@@
-6,6
+6,12
@@
extern "C" {
#endif
#include <time.h>
#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 *);
int timerfd_create(int, int);
int timerfd_settime(int, int, const struct itimerspec *, struct itimerspec *);