21 #include <linux/time.h> 22 #include <xenomai/posix/syscall.h> 24 int __cobalt_timerfd_settime(
int fd,
int flags,
25 const struct itimerspec *new_value,
26 struct itimerspec *old_value);
28 int __cobalt_timerfd_gettime(
int fd,
29 struct itimerspec *value);
31 COBALT_SYSCALL_DECL(timerfd_create,
32 (
int clockid,
int flags));
34 COBALT_SYSCALL_DECL(timerfd_settime,
36 const struct itimerspec __user *new_value,
37 struct itimerspec __user *old_value));
39 COBALT_SYSCALL_DECL(timerfd_gettime,
40 (
int fd,
struct itimerspec __user *curr_value));