summaryrefslogtreecommitdiff
path: root/libc/sysdeps/unix/sysv/linux/internal_accept4.S
blob: ffc553624c9942b4f4e47535be992d7534bf7fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <kernel-features.h>
#include <sys/syscall.h>
#if !defined __NR_accept4 && defined __NR_socketcall
# define socket	accept4
# ifdef __ASSUME_ACCEPT4
#  define __socket accept4
# else
#  define __socket __internal_accept4
# endif
# define NARGS 4
# define NEED_CANCELLATION
# define NO_WEAK_ALIAS
# include <socket.S>
#endif