Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

libdoor(3LIB)

Name

libdoor - doors library

Synopsis

cc [ flag... ] file...  [ library... ]
#include <door.h>

Description

Historically, functions in this library provided programmatic 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 control transfer between processes on the same machine. Conceptually, 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 shared object is implemented as a filter on libc.so.1. New application development need not specify –ldoor.

INTERFACES

The shared object libdoor.so.1 provides the public interfaces 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(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
MT-Level
Safe

See Also

libc(3LIB), intro(3), attributes(7)

Stevens, W. Richard. UNIX Network Programming, Volume 2: Interprocess Communications, 2/e. Tucson, Ariz.: Prentice Hall, 1999.