aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/sys/eventfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/sys/eventfd.h')
-rw-r--r--libc/include/sys/eventfd.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/include/sys/eventfd.h b/libc/include/sys/eventfd.h
index 3cfb5e7fa..6b9749a11 100644
--- a/libc/include/sys/eventfd.h
+++ b/libc/include/sys/eventfd.h
@@ -37,13 +37,14 @@ __BEGIN_DECLS
#define EFD_CLOEXEC O_CLOEXEC
#define EFD_NONBLOCK O_NONBLOCK
+/* type of event counter */
typedef uint64_t eventfd_t;
-int eventfd(unsigned int __initial_value, int __flags);
+int eventfd(unsigned int initial_value, int flags);
-int eventfd_read(int __fd, eventfd_t* __value);
-int eventfd_write(int __fd, eventfd_t __value);
+int eventfd_read(int fd, eventfd_t* value);
+int eventfd_write(int fd, eventfd_t value);
__END_DECLS
-#endif
+#endif /* _SYS_EVENTFD_H */