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

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