xref: /titanic_41/usr/src/man/man3lib/libsocket.3lib (revision 7535ae1914017b0e648abd7a139aca709fa82be3)
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 "Nov 2, 2004"
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_socketpair accept
bind connect
endnetent endprotoent
endservent ether_aton
ether_hostton ether_line
ether_ntoa ether_ntohost
freeaddrinfo gai_strerror
getaddrinfo getnameinfo
getnetbyaddr getnetbyaddr_r
getnetbyname getnetbyname_r
getnetent getnetent_r
getpeername getprotobyname
getprotobyname_r getprotobynumber
getprotobynumber_r getprotoent
getprotoent_r getservbyname
getservbyname_r getservbyport
getservbyport_r getservent
getservent_r getsockname
getsockopt htonl
htons if_freenameindex
if_indextoname if_nameindex
if_nametoindex in6addr_any
in6addr_loopback inet_lnaof
inet_makeaddr inet_network
listen ntohl
ntohs rcmd
rcmd_af recv
recvfrom recvmsg
rexec rexec_af
rresvport rresvport_af
ruserok send
sendmsg sendto
setnetent setprotoent
setservent setsockopt
shutdown socket
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 TYPE ATTRIBUTE VALUE
MT-Level See the manual page for each interface.
SEE ALSO

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