xref: /titanic_52/usr/src/man/man3lib/libsocket.3lib (revision 7aa76ffc594f84c1c092911a84f85a79ddb44c73)
te
Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
libsocket 3LIB "2 Nov 2004" "SunOS 5.11" "Interface Libraries"
NAME
libsocket - sockets library
SYNOPSIS

cc [ flag... ] file... -lsocket [ library... ]
DESCRIPTION

Functions in this library provide the socket internetworking interface, primarily used with the TCP/IP protocol suite.

INTERFACES

The shared object libsocket.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

__xnet_bind__xnet_connect
__xnet_getsockopt__xnet_listen
__xnet_recvmsg__xnet_sendmsg
__xnet_sendto__xnet_socket
__xnet_socketpairaccept
bindconnect
endnetentendprotoent
endserventether_aton
ether_hosttonether_line
ether_ntoaether_ntohost
freeaddrinfogai_strerror
getaddrinfogetnameinfo
getnetbyaddrgetnetbyaddr_r
getnetbynamegetnetbyname_r
getnetentgetnetent_r
getpeernamegetprotobyname
getprotobyname_rgetprotobynumber
getprotobynumber_rgetprotoent
getprotoent_rgetservbyname
getservbyname_rgetservbyport
getservbyport_rgetservent
getservent_rgetsockname
getsockopthtonl
htonsif_freenameindex
if_indextonameif_nameindex
if_nametoindexin6addr_any
in6addr_loopbackinet_lnaof
inet_makeaddrinet_network
listenntohl
ntohsrcmd
rcmd_afrecv
recvfromrecvmsg
rexecrexec_af
rresvportrresvport_af
ruseroksend
sendmsgsendto
setnetentsetprotoent
setserventsetsockopt
shutdownsocket
socketpair
FILES

/lib/libsocket.so.1

shared object

/lib/64/libsocket.so.1

64-bit shared object

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelSee the manual page for each interface.
SEE ALSO

pvs(1), Intro(2), Intro(3), socket.h(3HEAD), attributes(5)