1 /* 2 * include/linux/timerfd.h 3 * 4 * Copyright (C) 2007 Davide Libenzi <[email protected]> 5 * 6 */ 7 8 #ifndef _LINUX_TIMERFD_H 9 #define _LINUX_TIMERFD_H 10 11 /* For O_CLOEXEC and O_NONBLOCK */ 12 #include <linux/fcntl.h> 13 14 /* Flags for timerfd_settime. */ 15 #define TFD_TIMER_ABSTIME (1 << 0) 16 17 /* Flags for timerfd_create. */ 18 #define TFD_CLOEXEC O_CLOEXEC 19 #define TFD_NONBLOCK O_NONBLOCK 20 21 22 #endif /* _LINUX_TIMERFD_H */ 23 24