about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/internal_sendmmsg.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-28 01:43:20 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-28 01:43:20 -0400
commitf1f929d74a08d6f973cec20e311401586f408d35 (patch)
treeaad431c8f39d6474212303226cc49dd2a642d99b /sysdeps/unix/sysv/linux/internal_sendmmsg.S
parentce67228d570d2df88d74184e5e3618a5b2ef8704 (diff)
downloadglibc-f1f929d74a08d6f973cec20e311401586f408d35.tar.gz
glibc-f1f929d74a08d6f973cec20e311401586f408d35.tar.xz
glibc-f1f929d74a08d6f973cec20e311401586f408d35.zip
Add sendmmsg syscall
Diffstat (limited to 'sysdeps/unix/sysv/linux/internal_sendmmsg.S')
-rw-r--r--sysdeps/unix/sysv/linux/internal_sendmmsg.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/internal_sendmmsg.S b/sysdeps/unix/sysv/linux/internal_sendmmsg.S
new file mode 100644
index 0000000000..f5152c9f1f
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/internal_sendmmsg.S
@@ -0,0 +1,14 @@
+#include <kernel-features.h>
+#include <sys/syscall.h>
+#if !defined __NR_sendmmsg && defined __NR_socketcall
+# define socket	sendmmsg
+# ifdef __ASSUME_SENDMMSG
+#  define __socket sendmmsg
+# else
+#  define __socket __internal_sendmmsg
+# endif
+# define NARGS 4
+# define NEED_CANCELLATION
+# define NO_WEAK_ALIAS
+# include <socket.S>
+#endif