fix centos6 build failures
[trinity.git] / syscalls / clock_gettime.c
blob9a08a1500d1e71427f61224dbae9fea86c299d61
1 /*
2 * SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, struct timespec __user *,tp)
4 * return 0 for success, or -1 for failure (in which case errno is set appropriately).
5 */
6 #include "sanitise.h"
8 struct syscall syscall_clock_gettime = {
9 .name = "clock_gettime",
10 .num_args = 2,
11 .arg1name = "which_clock",
12 .arg2name = "tp",
13 .arg2type = ARG_ADDRESS,
14 .rettype = RET_ZERO_SUCCESS,