note a leak that needs fixing eventually
[trinity.git] / syscalls / clock_settime.c
blobb3e176304c43cb3b0e43c0b93672043b34889961
1 /*
2 * SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, const 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 syscallentry syscall_clock_settime = {
9 .name = "clock_settime",
10 .num_args = 2,
11 .arg1name = "which_clock",
12 .arg2name = "tp",
13 .arg2type = ARG_ADDRESS,
14 .rettype = RET_ZERO_SUCCESS,