4 #include <linux/time.h>
5 #include <xenomai/posix/syscall.h>
7 int __cobalt_timerfd_settime(
int fd,
int flags,
8 const struct itimerspec *new_value,
9 struct itimerspec *old_value);
11 int __cobalt_timerfd_gettime(
int fd,
12 struct itimerspec *value);
14 COBALT_SYSCALL_DECL(timerfd_create,
15 (
int clockid,
int flags));
17 COBALT_SYSCALL_DECL(timerfd_settime,
19 const struct itimerspec __user *new_value,
20 struct itimerspec __user *old_value));
22 COBALT_SYSCALL_DECL(timerfd_gettime,
23 (
int fd,
struct itimerspec __user *curr_value));