2 * D header file to interface with the Linux timefd API <http://man7.org/linux/man-pages/man2/timerfd_create.2.html>
3 * Available since Linux 2.6
5 * License : $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
7 module core.sys.linux.timerfd;
11 public import core.sys.posix.time;
18 int timerfd_create(int clockid, int flags);
19 int timerfd_settime(int fd, int flags, const itimerspec* new_value, itimerspec* old_value);
20 int timerfd_gettime(int fd, itimerspec* curr_value);
22 enum TFD_TIMER_ABSTIME = 1 << 0;
23 enum TFD_CLOEXEC = 0x80000;
24 enum TFD_NONBLOCK = 0x800;