The dpinvite man page
NAME
dpinvite - set up a DP contact file
SYNOPSIS
#include
int dpinvite(path, semantic, semsize)
char *path, *semantic;
int semsize;
DESCRIPTION
Any UNIX(r) process other than those spawned by a DP process
may enroll as a DP process (via the dpjoin() call) provided
that: 1) there is already a DP process running on the host,
and 2) the process has called dpinvite() to set up a contact
file named path (which can be a relative or absolute path-
name).
To make it possible for a non-DP process to join the DP com-
munity, dpinvite() writes to the contact file information
necessary for the joiner to set up its DP environment. In
addition to the standard set of information provided in the
file, user start-up settings can be provided via the seman-
tic string pointed to by semantic and of size semsize. Use-
ful semantics include command-line arguements and the invit-
ing process's environment.
RETURN VALUES
Upon success, dpinvite() returns 0. Otherwise, a negative
number (DPFAIL) is returned to indicate something went
wrong.
REMARK
This is a DP function call.
AUTHOR
David Arnow
FILES
/usr/include/dp/dp.h - DP header file
/usr/lib/libdp.a - DP library file
SEE ALSO
dpjoin(3DP), dpspawn(3DP)
Essential DP MAN Pages:
General/Essential:
Non-Interrupting Messages:
Interrupting Messages:
dpblock
dpcatchmsg
dpgetmsg
dppause
dpunblock
Other:
Return to
DP For Students
Return to
The DP Project
Return to
David Arnow's Home Page