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

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