remove [64] cleanup TODO
[trinity.git] / syscalls / epoll_pwait.c
blobe59a1b0e19adcdf6d523623a07ea6e856245725c
1 /*
2 * SYSCALL_DEFINE4(epoll_wait, int, epfd, struct epoll_event __user *, events,
3 int, maxevents, int, timeout)
5 * When successful, returns the number of file descriptors ready for the requested I/O,
6 * or zero if no file descriptor became ready during the requested timeout milliseconds.
7 * When an error occurs, returns -1 and errno is set appropriately.
8 */
9 #include "sanitise.h"
11 struct syscallentry syscall_epoll_pwait = {
12 .name = "epoll_pwait",
13 .num_args = 4,
14 .arg1name = "epfd",
15 .arg1type = ARG_FD,
16 .arg2name = "events",
17 .arg2type = ARG_ADDRESS,
18 .arg3name = "maxevents",
19 .arg4name = "timeout",
20 .rettype = RET_BORING,
21 .flags = NEED_ALARM,