connect.c 188 B

12345678
  1. #include <sys/socket.h>
  2. #include "syscall.h"
  3. #include "libc.h"
  4. int connect(int fd, const struct sockaddr *addr, socklen_t len)
  5. {
  6. return socketcall_cp(connect, fd, addr, len, 0, 0, 0);
  7. }