blob: 7d6b034914d9b4e71d50c3cfbbea8f04f0006b59 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include <sys/timex.h>
#include <time.h>
#include "syscall.h"
int clock_adjtime (clockid_t clock_id, struct timex *utx)
{
if (clock_id==CLOCK_REALTIME) return syscall(SYS_adjtimex, utx);
return syscall(SYS_clock_adjtime, clock_id, utx);
}
|