__read not read.
* sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use
__write not write.
+2007-10-08 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use
+ __read not read.
+ * sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use
+ __write not write.
+
2007-10-07 Ulrich Drepper <drepper@redhat.com>
[BZ #181]
int
eventfd_read (int fd, eventfd_t *value)
{
- return read (fd, value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
+ return __read (fd, value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
}
int
eventfd_write (int fd, eventfd_t value)
{
- return write (fd, &value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
+ return __write (fd, &value,
+ sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
}