Print this page
9704 move socket functions to libc

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/common/sys/_so_recvfrom.s
          +++ new/usr/src/lib/libc/common/sys/_so_recvfrom.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_recvfrom.s"
  31   31  
  32      -/* C library -- __so_recvfrom                                   */
  33   32  /*
  34      - * int __so_recvfrom(int sock, void *buffer, size_t len, int flags,
  35      - *               struct sockaddr *addr, size_t *addrlen)
       33 + * C library -- __so_recvfrom
       34 + *
       35 + * ssize_t __so_recvfrom(int, void *, size_t, int, struct sockaddr *,
       36 + *     socklen_t *)
  36   37   */
  37   38  
  38   39  #include "SYS.h"
  39   40  
  40   41          SYSCALL2_RESTART_RVAL1(__so_recvfrom,recvfrom)
  41   42          RET
  42   43          SET_SIZE(__so_recvfrom)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX