Interface Libraries libdoor(3LIB)
NAME
libdoor - doors library
SYNOPSIS
cc [ flag... ] file... [ library... ]#include
DESCRIPTION
Historically, functions in this library provided program-
matic access to doors, including the ability to create and call them. This functionality now resides in libc(3LIB).Doors are a fast light-weight RPC mechanism for secure con-
trol transfer between processes on the same machine. Concep-
tually, a thread in one process can issue a call using a door descriptor that causes code to be executed in another process and then returns using the traditional synchronous RPC model. Doors can also be used to pass data and file descriptors between processes. This library is maintained to provide backward compatibility for both runtime and compilation environments. The sharedobject is implemented as a filter on libc.so.1. New applica-
tion development need not specify -ldoor.
INTERFACESThe shared object libdoor.so.1 provides the public inter-
faces defined below. See Intro(3) for additional information on shared object interfaces.door_bind door_call
door_create door_cred
door_info door_return
door_revoke door_server_create
door_ucred door_unbind
FILES/lib/libdoor.so.1 shared object
/lib/64/libdoor.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 22 Mar 2005 1
Interface Libraries libdoor(3LIB)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | system/library || MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
Intro(3), libc(3LIB), attributes(5) Stevens, W. Richard. UNIX Network Programming, Volume 2: Interprocess Communications, 2/e. Tucson, Ariz.: Prentice Hall, 1999.SunOS 5.11 Last change: 22 Mar 2005 2