diff options
Diffstat (limited to 'src/time/timer_gettime.c')
-rw-r--r-- | src/time/timer_gettime.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/time/timer_gettime.c b/src/time/timer_gettime.c new file mode 100644 index 00000000..3d3156a0 --- /dev/null +++ b/src/time/timer_gettime.c @@ -0,0 +1,7 @@ +#include <time.h> +#include "pthread_impl.h" + +int timer_gettime(timer_t t, struct itimerspec *val) +{ + return syscall(SYS_timer_gettime, t->timerid, val); +} |