merge unlink variants
[trinity.git] / syscalls / eventfd.c
bloba27712364f536ab75f0108c84ab67d7088d630c0
1 /*
2 * SYSCALL_DEFINE1(eventfd, unsigned int, count)
4 * On success, eventfd() returns a new eventfd file descriptor.
5 * On error, -1 is returned and errno is set to indicate the error.
6 */
7 #include "sanitise.h"
9 struct syscallentry syscall_eventfd = {
10 .name = "eventfd",
11 .num_args = 1,
12 .arg1name = "count",
13 .arg1type = ARG_LEN,
14 .rettype = RET_FD,