commit | d50955620ff2eaa4c0aa87bb51b91d63ac8d7b94 | [log] [tgz] |
---|---|---|
author | Rich Felker <[email protected]> | Thu Dec 13 14:15:11 2012 -0500 |
committer | Rich Felker <[email protected]> | Thu Dec 13 14:15:11 2012 -0500 |
tree | d7886f9aaaaa5b9c4bf774d4c38c3d952d654b03 | |
parent | 2384f27d34c1580dfac73d57d7c2c6b204f1d147 [diff] [blame] |
add missing flags in sys/timerfd.h
diff --git a/include/sys/timerfd.h b/include/sys/timerfd.h index 0afa7b0..df645fe 100644 --- a/include/sys/timerfd.h +++ b/include/sys/timerfd.h
@@ -6,6 +6,12 @@ #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 *);