libunique-1.0(3) C Library Functions libunique-1.0(3)NAMElibunique-1.0 - A library for writing single instance applications
DESCRIPTIONlibunique-1.0 is a library for writing single instance applications.
If you launch a single instance application twice, the second instance
will exit quietly or will send a message to the running instance.
libunique-1.0 makes it easy to write these kind of applications, by
providing a base class, taking care of all the IPC machinery needed to
send messages to a running instance, and also handling startup notifi‐
cation.
libunique-1.0 supports two IPC backends: bacon and dbus. When dbus is
used, the messages are transmitted through a D-Bus private channel.
When bacon is used, libunique-1.0 uses PF_UNIX family socket(3head) to
allow communications between processes on the same machine.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of environment variables.
UNIQUE_BACKEND The default backend is dbus. User can override the
default backend by setting the UNIQUE_BACKEND environ‐
ment variable with the name of the desired backend.
FILES
The following files are used by this library:
/usr/lib/libunique-1.0.so
API shared library
/usr/share/gtk-doc/html/unique
Location of developer documentation
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │library/libunique │
├─────────────────────────────┼─────────────────────────────┤
│Interface stability │Volatile │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOsocket(3head), attributes(5), environ(5), gnome-interfaces(5)NOTES
Written by Halton Huo, Sun Microsystems Inc., 2009.
SunOS 5.11 27 Feb 2009 libunique-1.0(3)