merge newfstat variants
[trinity.git] / syscalls / poll.c
blobf07b71fc26af29986439d061a6d176aed0cac487
1 /*
2 * sys_poll(struct pollfd __user *ufds, unsigned int nfds, int timeout);
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_poll = {
7 .name = "poll",
8 .num_args = 3,
9 .arg1name = "ufds",
10 .arg1type = ARG_ADDRESS,
11 .arg2name = "nfds",
12 .arg2type = ARG_LEN,
13 .arg3name = "timeout_msecs",
14 .arg3type = ARG_RANGE,
15 .low3range = 0,
16 .hi3range = 1,
17 .flags = NEED_ALARM,