Explorar o código

Add stub for eventfd.

Warn if the enventfd() function is not implemented.

Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Jean-Christian de Rivaz %!s(int64=13) %!d(string=hai) anos
pai
achega
d10475f823
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      libc/sysdeps/linux/common/stubs.c

+ 4 - 0
libc/sysdeps/linux/common/stubs.c

@@ -92,6 +92,10 @@ make_stub(epoll_ctl)
 make_stub(epoll_wait)
 #endif
 
+#if !defined __NR_eventfd && defined __UCLIBC_LINUX_SPECIFIC__
+make_stub(eventfd)
+#endif
+
 #ifndef __NR_fdatasync
 make_stub(fdatasync)
 #endif