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

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