Commit | Line | Data |
---|---|---|
b215e283 DL |
1 | /* |
2 | * include/linux/timerfd.h | |
3 | * | |
4 | * Copyright (C) 2007 Davide Libenzi <davidel@xmailserver.org> | |
5 | * | |
6 | */ | |
7 | ||
8 | #ifndef _LINUX_TIMERFD_H | |
9 | #define _LINUX_TIMERFD_H | |
10 | ||
6b1ef0e6 | 11 | /* For O_CLOEXEC and O_NONBLOCK */ |
11fcb6c1 | 12 | #include <linux/fcntl.h> |
b215e283 | 13 | |
11fcb6c1 | 14 | /* Flags for timerfd_settime. */ |
b215e283 DL |
15 | #define TFD_TIMER_ABSTIME (1 << 0) |
16 | ||
11fcb6c1 UD |
17 | /* Flags for timerfd_create. */ |
18 | #define TFD_CLOEXEC O_CLOEXEC | |
6b1ef0e6 | 19 | #define TFD_NONBLOCK O_NONBLOCK |
b215e283 DL |
20 | |
21 | ||
22 | #endif /* _LINUX_TIMERFD_H */ | |
23 |