summaryrefslogtreecommitdiff
path: root/src/network/accept.c
blob: 521e9ef984fab1bbf8618db1c8ef8511f60e8777 (plain)
1
2
3
4
5
6
7
8
#include <sys/socket.h>
#include "syscall.h"
#include "libc.h"

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