make-it-fail fixes
[trinity.git] / syscalls / epoll_create1.c
blob24d676f041e426e9cccfc7dbad0545f2d8137759
1 /*
2 * SYSCALL_DEFINE1(epoll_create1, int, flags)
4 * On success, returns a nonnegative file descriptor.
5 * On error, -1 is returned, and errno is set to indicate the error.
6 */
8 #define EPOLL_CLOEXEC 02000000
10 #include "sanitise.h"
12 struct syscallentry syscall_epoll_create1 = {
13 .name = "epoll_create1",
14 .num_args = 1,
15 .arg1name = "flags",
16 .arg1type = ARG_LIST,
17 .arg1list = {
18 .num = 1,
19 .values = { EPOLL_CLOEXEC },
21 .rettype = RET_FD,