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); }