move_pages: just use calloc
[trinity.git] / syscalls / clock_gettime.c
blob9ae1da6721a0bf574999b97a13f4d7189c14d499
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 syscallentry 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,