diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-05-28 01:43:20 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-05-28 01:43:20 -0400 |
commit | f1f929d74a08d6f973cec20e311401586f408d35 (patch) | |
tree | aad431c8f39d6474212303226cc49dd2a642d99b /sysdeps/unix/sysv/linux/internal_sendmmsg.S | |
parent | ce67228d570d2df88d74184e5e3618a5b2ef8704 (diff) | |
download | glibc-f1f929d74a08d6f973cec20e311401586f408d35.tar.gz |
Add sendmmsg syscall
Diffstat (limited to 'sysdeps/unix/sysv/linux/internal_sendmmsg.S')
-rw-r--r-- | sysdeps/unix/sysv/linux/internal_sendmmsg.S | 14 |
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 |