1 /* vi: set sw=4 ts=4: */
3 * timerfd_create() / timerfd_settime() / timerfd_gettime() for uClibc
5 * Copyright (C) 2009 Stephan Raue <stephan@openelec.tv>
7 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
10 #include <sys/syscall.h>
11 /*#include <sys/timerfd.h>*/
17 #ifdef __NR_timerfd_create
18 int timerfd_create(int clockid
, int flags
)
20 return syscall(__NR_timerfd_create
, clockid
, flags
);
27 #ifdef __NR_timerfd_settime
28 int timerfd_settime(int ufd
, int flags
, const struct itimerspec
*umtr
, struct itimerspec
*otmr
)
30 return syscall(__NR_timerfd_settime
, ufd
, flags
, umtr
, otmr
);
This page took 0.051987 seconds and 5 git commands to generate.