diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-03-15 09:32:20 -0700 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-08-25 09:50:43 +0200 |
commit | 5128015145c5d25a8ea66af38abbb45b6c3e8c99 (patch) | |
tree | d66ec5a489bbf330bcdd2f0e2550741b0762b9d2 /libc/sysdeps/linux/common/clock_adjtime.c | |
parent | 3a085a2a64d372f87e4af379fd760bb574f57871 (diff) |
Add clock_adjtime syscall
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/clock_adjtime.c')
-rw-r--r-- | libc/sysdeps/linux/common/clock_adjtime.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/clock_adjtime.c b/libc/sysdeps/linux/common/clock_adjtime.c new file mode 100644 index 000000000..9f55d4527 --- /dev/null +++ b/libc/sysdeps/linux/common/clock_adjtime.c @@ -0,0 +1,15 @@ +/* + * clock_adjtime() for uClibc + * + * Copyright (C) 2005 by Peter Kjellerstedt <pkj@axis.com> + * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> + * + * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. + */ + +#include <sys/syscall.h> +#include <sys/timex.h> + +#ifdef __NR_clock_adjtime +_syscall2(int, clock_adjtime, clockid_t, clock_id, struct timex*, ntx) +#endif |