clock_adjtime.c 403 B

123456789101112131415
  1. /*
  2. * clock_adjtime() for uClibc
  3. *
  4. * Copyright (C) 2005 by Peter Kjellerstedt <pkj@axis.com>
  5. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  6. *
  7. * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
  8. */
  9. #include <sys/syscall.h>
  10. #include <sys/timex.h>
  11. #ifdef __NR_clock_adjtime
  12. _syscall2(int, clock_adjtime, clockid_t, clock_id, struct timex*, ntx)
  13. #endif