blob: 88c761f5ccba8c206a02262372146addf1d62a53 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "asm/unistd_64.h" // for __NR_accept4
#include <sys/socket.h> // for accept4, socklen_t
#include <syscall.h> // for __syscall_4, syscall
int accept4(int socket, struct sockaddr *restrict address,
socklen_t *restrict address_len, int flag)
{
return syscall(accept4, socket, address, address_len, flag);
}
|