summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sys/eventfd.h
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-02-20 00:30:18 -0800
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-02-17 23:42:30 +0100
commit9fc6da20daeac3f06116630764c36fc4943b1f3a (patch)
tree2b614c29ed48ccb9007fa6750513a57283fc88b1 /libc/sysdeps/linux/common/sys/eventfd.h
parent31b0af2da8120e2b3f176d955eeca034e434b1b7 (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/sys/eventfd.h')
-rw-r--r--libc/sysdeps/linux/common/sys/eventfd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/sys/eventfd.h b/libc/sysdeps/linux/common/sys/eventfd.h
index 1bf785f32..a47b5fecf 100644
--- a/libc/sysdeps/linux/common/sys/eventfd.h
+++ b/libc/sysdeps/linux/common/sys/eventfd.h
@@ -31,9 +31,7 @@ __BEGIN_DECLS
/* Return file descriptor for generic event channel. Set initial
value to COUNT. */
-extern int eventfd (int __count, int __flags) __THROW;
-
-#if 0 /* not (yet) implemented in uClibc */
+extern int eventfd (unsigned int __count, int __flags) __THROW;
/* Read event counter and possibly wait for events. */
extern int eventfd_read (int __fd, eventfd_t *__value);
@@ -41,8 +39,6 @@ extern int eventfd_read (int __fd, eventfd_t *__value);
/* Increment event counter. */
extern int eventfd_write (int __fd, eventfd_t __value);
-#endif
-
__END_DECLS
#endif /* sys/eventfd.h */