repo.or.cz
/
trinity.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
var scope reduction
[trinity.git]
/
syscalls
/
epoll_create.c
blob
87d657fc7ab85f51a8b5f3a06de5e4b1533f0c80
1
/*
2
* SYSCALL_DEFINE1(epoll_create, int, size)
3
*
4
* On success, returns a nonnegative file descriptor.
5
* On error, -1 is returned, and errno is set to indicate the error.
6
*/
7
#include
"sanitise.h"
8
9
struct
syscallentry syscall_epoll_create
= {
10
.
name
=
"epoll_create"
,
11
.
num_args
=
1
,
12
.
arg1name
=
"size"
,
13
.
arg1type
=
ARG_LEN
,
14
.
rettype
=
RET_FD
,
15
};