8202 doors man pages contain extra whitespace
[unleashed.git] / usr / src / man / man3lib / libdoor.3lib
bloba5552fee421cfbe451cef082ade1e35038e843cc
1 '\" te
2 .\" Copyright (c) 2005, by 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 LIBDOOR 3LIB "Mar 22, 2005"
7 .SH NAME
8 libdoor \- doors library
9 .SH SYNOPSIS
10 .LP
11 .nf
12 cc [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ]
13 #include <\fBdoor.h\fR>
14 .fi
16 .SH DESCRIPTION
17 .LP
18 Historically, functions in this library provided programmatic access to doors,
19 including the ability to create and call them. This functionality now resides
20 in \fBlibc\fR(3LIB).
21 .sp
22 .LP
23 Doors are a fast light-weight RPC mechanism for secure control transfer between
24 processes on the same machine. Conceptually, a thread in one process can issue
25 a call using a door descriptor that causes code to be executed in another
26 process and then returns using the traditional synchronous RPC model. Doors
27 can also be used to pass data and file descriptors between processes.
28 .sp
29 .LP
30 This library is maintained to provide backward compatibility for both runtime
31 and compilation environments. The shared object is implemented as a filter on
32 \fBlibc.so.1\fR. New application development need not specify \fB-ldoor\fR.
33 .SH INTERFACES
34 .LP
35 The shared object \fBlibdoor.so.1\fR provides the public interfaces defined
36 below. See \fBIntro\fR(3) for additional information on shared object
37 interfaces.
38 .sp
40 .sp
41 .TS
42 l l
43 l l .
44 \fBdoor_bind\fR \fBdoor_call\fR
45 \fBdoor_create\fR       \fBdoor_cred\fR
46 \fBdoor_info\fR \fBdoor_return\fR
47 \fBdoor_revoke\fR       \fBdoor_server_create\fR
48 \fBdoor_ucred\fR        \fBdoor_unbind\fR
49 .TE
51 .SH FILES
52 .ne 2
53 .na
54 \fB\fB/lib/libdoor.so.1\fR\fR
55 .ad
56 .RS 24n
57 shared object
58 .RE
60 .sp
61 .ne 2
62 .na
63 \fB\fB/lib/64/libdoor.so.1\fR\fR
64 .ad
65 .RS 24n
66 64-bit shared object
67 .RE
69 .SH ATTRIBUTES
70 .LP
71 See \fBattributes\fR(5) for descriptions of the following attributes:
72 .sp
74 .sp
75 .TS
76 box;
77 c | c
78 l | l .
79 ATTRIBUTE TYPE  ATTRIBUTE VALUE
80 MT-Level        Safe
81 .TE
83 .SH SEE ALSO
84 .LP
85 \fBIntro\fR(3), \fBlibc\fR(3LIB), \fBattributes\fR(5)
86 .sp
87 .LP
88 Stevens, W. Richard. \fIUNIX Network Programming, Volume 2: Interprocess
89 Communications, 2/e\fR. Tucson, Ariz.: Prentice Hall, 1999.