diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-02-20 00:30:18 -0800 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-02-17 23:42:30 +0100 |
commit | 9fc6da20daeac3f06116630764c36fc4943b1f3a (patch) | |
tree | 2b614c29ed48ccb9007fa6750513a57283fc88b1 /libc/sysdeps/linux/common/eventfd.c | |
parent | 31b0af2da8120e2b3f176d955eeca034e434b1b7 (diff) |
Add eventfd_read() and eventfd_write()
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/eventfd.c')
-rw-r--r-- | libc/sysdeps/linux/common/eventfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/eventfd.c b/libc/sysdeps/linux/common/eventfd.c index 96597ab33..500b0c002 100644 --- a/libc/sysdeps/linux/common/eventfd.c +++ b/libc/sysdeps/linux/common/eventfd.c @@ -15,7 +15,7 @@ * eventfd() */ #if defined __NR_eventfd || defined __NR_eventfd2 -int eventfd (int count, int flags) +int eventfd (unsigned int count, int flags) { #if defined __NR_eventfd2 return INLINE_SYSCALL (eventfd2, 2, count, flags); |