yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame^] | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | ||||
3 | * eventfd() for uClibc | ||||
4 | * | ||||
5 | * Copyright (C) 2011 Jean-Christian de Rivaz <jc@eclis.ch> | ||||
6 | * | ||||
7 | * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. | ||||
8 | */ | ||||
9 | |||||
10 | #include <sys/syscall.h> | ||||
11 | #include <sys/eventfd.h> | ||||
12 | |||||
13 | /* | ||||
14 | * eventfd() | ||||
15 | */ | ||||
16 | #ifdef __NR_eventfd | ||||
17 | _syscall2(int, eventfd, int, count, int, flags) | ||||
18 | #endif |