summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/stubs.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-11 11:31:45 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-11 11:58:07 +0200
commit74a2c71153b910ee4773866ee30be84730a4d5b8 (patch)
tree41ac5d32a5b40f4acdd0d0bee0831696df0d12bb /libc/sysdeps/linux/common/stubs.c
parent46e3df937b05fa291470e975cd836c5435aa0ecc (diff)
accept4: Implement cancellation
.. and add proper prototype, move it into it's own obj and other such cleanups. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/stubs.c')
-rw-r--r--libc/sysdeps/linux/common/stubs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index 655c64001..d9379874a 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -31,6 +31,10 @@ static int enosys_stub(void)
# undef __NR_sync_file_range
#endif
+#ifndef __NR_accept4
+make_stub(accept4)
+#endif
+
#ifndef __NR_bdflush
make_stub(bdflush)
#endif