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