From f209440bcfb5bee2386f00392f00f68c716850ce Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 5 Apr 2011 15:38:20 -0400 Subject: implement the adjtime and adjtimex functions (nonstandard) --- src/linux/adjtimex.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/linux/adjtimex.c (limited to 'src/linux/adjtimex.c') diff --git a/src/linux/adjtimex.c b/src/linux/adjtimex.c new file mode 100644 index 00000000..91de6824 --- /dev/null +++ b/src/linux/adjtimex.c @@ -0,0 +1,7 @@ +#include +#include "syscall.h" + +int adjtimex(struct timex *tx) +{ + return syscall(SYS_adjtimex, tx); +} -- cgit v1.2.1