16659 Clean up minor issues in prototype.man3x
[illumos-gate.git] / usr / src / man / man3lib / libxnet.3lib
blob41a1ad4fc66d3b5c4ba57393583ed0326ad80cdd
1 '\" te
2 .\" Copyright (c) 2004, Sun Microsystems, Inc.  All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH LIBXNET 3LIB "Mar 24, 2004"
7 .SH NAME
8 libxnet \- X/Open Networking library
9 .SH SYNOPSIS
10 .LP
11 .nf
12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lxnet\fR [ \fIlibrary\fR... ]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 Functions in this library provide networking interfaces which comply with the
19 X/Open CAE Specification, Networking Services, Issue 4.
20 .SH INTERFACES
21 .sp
22 .LP
23 The shared object \fBlibxnet.so.1\fR provides the public interfaces defined
24 below. See \fBIntro\fR(3) for additional information on shared object
25 interfaces.
26 .sp
28 .sp
29 .TS
30 l l
31 l l .
32 \fB__t_errno\fR \fB__xnet_bind\fR
33 \fB__xnet_connect\fR    \fB__xnet_getsockopt\fR
34 \fB__xnet_listen\fR     \fB__xnet_recvmsg\fR
35 \fB__xnet_sendmsg\fR    \fB__xnet_sendto\fR
36 \fB__xnet_socket\fR     \fB__xnet_socketpair\fR
37 \fB_xti_accept\fR       \fB_xti_alloc\fR
38 \fB_xti_bind\fR \fB_xti_close\fR
39 \fB_xti_connect\fR      \fB_xti_error\fR
40 \fB_xti_free\fR \fB_xti_getinfo\fR
41 \fB_xti_getprotaddr\fR  \fB_xti_getstate\fR
42 \fB_xti_listen\fR       \fB_xti_look\fR
43 \fB_xti_open\fR \fB_xti_optmgmt\fR
44 \fB_xti_rcv\fR  \fB_xti_rcvconnect\fR
45 \fB_xti_rcvdis\fR       \fB_xti_rcvrel\fR
46 \fB_xti_rcvreldata\fR   \fB_xti_rcvudata\fR
47 \fB_xti_rcvuderr\fR     \fB_xti_rcvv\fR
48 \fB_xti_rcvvudata\fR    \fB_xti_snd\fR
49 \fB_xti_snddis\fR       \fB_xti_sndrel\fR
50 \fB_xti_sndreldata\fR   \fB_xti_sndudata\fR
51 \fB_xti_sndv\fR \fB_xti_sndvudata\fR
52 \fB_xti_strerror\fR     \fB_xti_sync\fR
53 \fB_xti_sysconf\fR      \fB_xti_unbind\fR
54 \fB_xti_xns5_accept\fR  \fB_xti_xns5_snd\fR
55 \fBaccept\fR    \fBbind\fR
56 \fBconnect\fR   \fBendhostent\fR
57 \fBendnetent\fR \fBendprotoent\fR
58 \fBendservent\fR        \fBfreeaddrinfo\fR
59 \fBgai_strerror\fR      \fBgetaddrinfo\fR
60 \fBgethostbyaddr\fR     \fBgethostbyname\fR
61 \fBgethostent\fR        \fBgethostname\fR
62 \fBgetnameinfo\fR       \fBgetnetbyaddr\fR
63 \fBgethostname\fR       \fBgetnetbyaddr\fR
64 \fBgetnetbyname\fR      \fBgetnetent\fR
65 \fBgetpeername\fR       \fBgetprotobyname\fR
66 \fBgetprotobynumber\fR  \fBgetprotoent\fR
67 \fBgetservbyname\fR     \fBgetservbyport\fR
68 \fBgetservent\fR        \fBgetsockname\fR
69 \fBgetsockopt\fR        \fBh_errno\fR
70 \fBhtonl\fR     \fBhtons\fR
71 \fBif_freenameindex\fR  \fBif_indextoname\fR
72 \fBif_nameindex\fR      \fBif_nametoindex\fR
73 \fBinet_addr\fR \fBinet_lnaof\fR
74 \fBinet_makeaddr\fR     \fBinet_netof\fR
75 \fBinet_network\fR      \fBinet_ntoa\fR
76 \fBinet_ntop\fR \fBinet_pton\fR
77 \fBlisten\fR    \fBntohl\fR
78 \fBntohs\fR     \fBrecv\fR
79 \fBrecvfrom\fR  \fBrecvmsg\fR
80 \fBsend\fR      \fBsendmsg\fR
81 \fBsendto\fR    \fBsethostent\fR
82 \fBsetnetent\fR \fBsetprotoent\fR
83 \fBsetservent\fR        \fBsetsockopt\fR
84 \fBshutdown\fR  \fBsockatmark\fR
85 \fBsocket\fR    \fBsocketpair\fR
86 \fBt_errno\fR   
87 .TE
89 .SH FILES
90 .sp
91 .ne 2
92 .na
93 \fB\fB/lib/libxnet.so.1\fR\fR
94 .ad
95 .RS 24n
96 shared object
97 .RE
99 .sp
100 .ne 2
102 \fB\fB/lib/64/libxnet.so.1\fR\fR
104 .RS 24n
105 64-bit shared object
108 .SH ATTRIBUTES
111 See \fBattributes\fR(7) for descriptions of the following attributes:
116 box;
117 c | c
118 l | l .
119 ATTRIBUTE TYPE  ATTRIBUTE VALUE
121 Interface Stability     Standard
123 MT-Level        Safe
126 .SH SEE ALSO
129 .BR Intro (3),
130 .BR attributes (7),
131 .BR standards (7)