move_pages: just use calloc
[trinity.git] / syscalls / timerfd_create.c
blobc6ad6c8e22c91a70d9a6bd59b0ecea689261343d
1 /*
2 * SYSCALL_DEFINE2(timerfd_create, int, clockid, int, flags)
3 */
4 #include <time.h>
5 #include "sanitise.h"
6 #include "compat.h"
8 struct syscallentry syscall_timerfd_create = {
9 .name = "timerfd_create",
10 .num_args = 2,
11 .arg1name = "clockid",
12 .arg1type = ARG_OP,
13 .arg1list = {
14 .num = 2,
15 .values = { CLOCK_REALTIME, CLOCK_MONOTONIC },
17 .arg2name = "flags",
18 .arg2type = ARG_LIST,
19 .arg2list = {
20 .num = 2,
21 .values = { TFD_NONBLOCK, TFD_CLOEXEC },