1libdoor(3LIB)                 Interface Libraries                libdoor(3LIB)
2
3
4

NAME

6       libdoor - doors library
7

SYNOPSIS

9       cc [ flag... ] file...  [ library... ]
10       #include <door.h>
11
12

DESCRIPTION

14       Historically, functions in this library provided programmatic access to
15       doors, including the ability to create and call them. This  functional‐
16       ity now resides in libc(3LIB).
17
18
19       Doors are a fast light-weight RPC mechanism for secure control transfer
20       between processes on the same machine. Conceptually, a  thread  in  one
21       process can issue a call using a door descriptor that causes code to be
22       executed in another process and then returns using the traditional syn‐
23       chronous  RPC  model.   Doors  can  also  be used to pass data and file
24       descriptors between processes.
25
26
27       This library is maintained to provide backward compatibility  for  both
28       runtime  and compilation environments. The shared object is implemented
29       as a filter on libc.so.1. New application development need not  specify
30       -ldoor.
31

INTERFACES

33       The  shared  object libdoor.so.1 provides the public interfaces defined
34       below. See Intro(3) for additional information on shared object  inter‐
35       faces.
36
37
38
39
40       door_bind                     door_call
41       door_create                   door_cred
42       door_info                     door_return
43       door_revoke                   door_server_create
44       door_ucred                    door_unbind
45
46

FILES

48       /lib/libdoor.so.1       shared object
49
50
51       /lib/64/libdoor.so.1    64-bit shared object
52
53

ATTRIBUTES

55       See attributes(5) for descriptions of the following attributes:
56
57
58
59
60       ┌─────────────────────────────┬─────────────────────────────┐
61       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
62       ├─────────────────────────────┼─────────────────────────────┤
63       │Availability                 │SUNWcsl                      │
64       │MT-Level                     │Safe                         │
65       └─────────────────────────────┴─────────────────────────────┘
66

SEE ALSO

68       Intro(3), libc(3LIB), attributes(5)
69
70
71       Stevens,  W.  Richard. UNIX Network Programming, Volume 2: Interprocess
72       Communications, 2/e. Tucson, Ariz.: Prentice Hall, 1999.
73
74
75
76SunOS 5.11                        22 Mar 2005                    libdoor(3LIB)
Impressum