2011-05-28 01:43:20 -04:00
|
|
|
#include <kernel-features.h>
|
|
|
|
#include <sys/syscall.h>
|
|
|
|
#if !defined __NR_sendmmsg && defined __NR_socketcall
|
|
|
|
# define socket sendmmsg
|
2012-11-03 18:29:46 +01:00
|
|
|
# ifndef __ASSUME_SENDMMSG
|
2011-05-28 01:43:20 -04:00
|
|
|
# define __socket __internal_sendmmsg
|
2012-11-03 18:29:46 +01:00
|
|
|
# define NO_WEAK_ALIAS
|
2011-05-28 01:43:20 -04:00
|
|
|
# endif
|
|
|
|
# define NARGS 4
|
|
|
|
# define NEED_CANCELLATION
|
|
|
|
# include <socket.S>
|
2012-11-03 18:29:46 +01:00
|
|
|
# ifdef __ASSUME_SENDMMSG
|
|
|
|
libc_hidden_def (__sendmmsg)
|
|
|
|
# endif
|
2011-05-28 01:43:20 -04:00
|
|
|
#endif
|