Xenomai  3.0-rc3
timerfd.h
1 #ifndef TIMERFD_H
2 #define TIMERFD_H
3 
4 #include <linux/time.h>
5 #include <xenomai/posix/syscall.h>
6 
7 int __cobalt_timerfd_settime(int fd, int flags,
8  const struct itimerspec *new_value,
9  struct itimerspec *old_value);
10 
11 int __cobalt_timerfd_gettime(int fd,
12  struct itimerspec *value);
13 
14 COBALT_SYSCALL_DECL(timerfd_create,
15  (int clockid, int flags));
16 
17 COBALT_SYSCALL_DECL(timerfd_settime,
18  (int fd, int flags,
19  const struct itimerspec __user *new_value,
20  struct itimerspec __user *old_value));
21 
22 COBALT_SYSCALL_DECL(timerfd_gettime,
23  (int fd, struct itimerspec __user *curr_value));
24 
25 #endif /* TIMERFD_H */