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