Print this page
9704 move socket functions to libc

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/common/sys/_so_socket.s
          +++ new/usr/src/lib/libc/common/sys/_so_socket.s
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  /*        All Rights Reserved   */
  23   23  
  24   24  
  25   25  /*
  26   26   * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  27   27   * Use is subject to license terms.
  28   28   */
  29   29  
  30   30          .file   "_so_socket.s"
  31   31  
  32      -/* C library -- _so_socket                                      */
  33   32  /*
  34      - * int _so_socket (int domain, int type, int protocol,
  35      - *                      dev_t dev, int version);
       33 + * C library -- _so_socket
       34 + *
       35 + * int _so_socket(int, int, int, dev_t, int);
  36   36   */
  37   37  
  38   38  #include "SYS.h"
  39   39  
  40   40          SYSCALL2_RVAL1(_so_socket,so_socket)
  41   41          RET
  42   42          SET_SIZE(_so_socket)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX