Print this page
9704 move socket functions to libc
*** 16,39 ****
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
-
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
.file "_so_getsockname.s"
! /* C library -- _so_getsockname */
! /* int _so_getsockname (int fildes, struct sockaddr *name, int namelen, */
! /* int vers); */
#include "SYS.h"
SYSCALL2_RVAL1(_so_getsockname,getsockname)
RET
--- 16,41 ----
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
+
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
.file "_so_getsockname.s"
! /*
! * C library -- _so_getsockname
! *
! * int _so_getsockname(int, struct sockaddr *, socklen_t *, int);
! */
#include "SYS.h"
SYSCALL2_RVAL1(_so_getsockname,getsockname)
RET