blob: 29bffbcb639b9082f169e7cfc6212900c467c35d (
plain) (
tree)
|
|
#include <sys/socket.h>
#include "syscall.h"
#include "libc.h"
int connect(int fd, const struct sockaddr *addr, socklen_t len)
{
int ret;
CANCELPT_BEGIN;
ret = socketcall(connect, fd, addr, len, 0, 0, 0);
CANCELPT_END;
return ret;
}
|