瀏覽代碼

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 13 年之前
父節點
當前提交
d10475f823
共有 1 個文件被更改,包括 4 次插入0 次删除
  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