Go to the documentation of this file.
8 #ifndef _LINUX_TIMERFD_H
9 #define _LINUX_TIMERFD_H
12 #include <linux/fcntl.h>
21 #define TFD_TIMER_ABSTIME (1 << 0)
22 #define TFD_TIMER_CANCEL_ON_SET (1 << 1)
23 #define TFD_CLOEXEC O_CLOEXEC
24 #define TFD_NONBLOCK O_NONBLOCK
26 #define TFD_SHARED_FCNTL_FLAGS (TFD_CLOEXEC | TFD_NONBLOCK)
28 #define TFD_CREATE_FLAGS TFD_SHARED_FCNTL_FLAGS
30 #define TFD_SETTIME_FLAGS (TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET)