From 5128015145c5d25a8ea66af38abbb45b6c3e8c99 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 15 Mar 2014 09:32:20 -0700 Subject: Add clock_adjtime syscall Signed-off-by: Khem Raj Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/clock_adjtime.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libc/sysdeps/linux/common/clock_adjtime.c (limited to 'libc/sysdeps/linux/common/clock_adjtime.c') 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 + * Copyright (C) 2000-2006 Erik Andersen + * + * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. + */ + +#include +#include + +#ifdef __NR_clock_adjtime +_syscall2(int, clock_adjtime, clockid_t, clock_id, struct timex*, ntx) +#endif -- cgit v1.2.3