Print this page
9704 move socket functions to libc

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/common/sys/_so_connect.s
          +++ new/usr/src/lib/libc/common/sys/_so_connect.s
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  /*      Copyright (c) 1988 AT&T */
  23   23  /*        All Rights Reserved   */
  24   24  
  25   25  /*
  26   26   * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  27   27   * Use is subject to license terms.
  28   28   */
  29   29  
  30   30          .file   "_so_connect.s"
  31   31  
  32      -/* C library -- __so_connect                                            */
  33      -/* int __so_connect(int sock, struct sockaddr *addr, int addrlen, int vers) */
       32 +/*
       33 + * C library -- __so_connect
       34 + *
       35 + * int __so_connect(int, const struct sockaddr *, socklen_t, int)
       36 + */
  34   37  
  35   38  #include "SYS.h"
  36   39  
  37   40          SYSCALL2_RVAL1(__so_connect,connect)
  38   41          RET
  39   42          SET_SIZE(__so_connect)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX