about summary refs log tree commit diff
path: root/src/network/accept.c
blob: a92406fa7315c89cf5b2d3e6d0299a3de65f315f (plain) (blame)
1
2
3
4
5
6
7
#include <sys/socket.h>
#include "syscall.h"

int accept(int fd, struct sockaddr *restrict addr, socklen_t *restrict len)
{
	return socketcall_cp(accept, fd, addr, len, 0, 0, 0);
}