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_getpeername.s"
! /* C library -- _so_getpeername */
! /* int _so_getpeername (int fildes, struct sockaddr *name, */
! /* int namelen, int vers); */
#include "SYS.h"
SYSCALL2_RVAL1(_so_getpeername,getpeername)
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_getpeername.s"
! /*
! * C library -- _so_getpeername
! *
! * int _so_getpeername(int, struct sockaddr *, socklen_t *, int);
! */
#include "SYS.h"
SYSCALL2_RVAL1(_so_getpeername,getpeername)
RET