16018N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
16018N/A<!--ArborText, Inc., 1988-1999, v.4002-->
16018N/A<!
ENTITY suncopy "Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.">
16018N/A<
refmeta><
refentrytitle>&cmd;</
refentrytitle><
manvolnum>3</
manvolnum>
16018N/A<
refmiscinfo class="date">27 Feb 2009</
refmiscinfo>
16018N/A<
refmiscinfo class="sectdesc">&man3;</
refmiscinfo>
16018N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
16018N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
16018N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
17593N/A<
indexterm><
primary>&cmd;</
primary></
indexterm>
17593N/A<
indexterm><
primary>A library for writing a single instance applications</
primary></
indexterm>
16018N/A<
refnamediv id="libunique-10-3-name"><
refname>&cmd;</
refname>
17593N/A<
refpurpose>A library for writing single instance applications</
refpurpose>
16018N/A<
refsect1 id="libunique-10-3-desc"><
title>&desc-tt;</
title>
16021N/A<
command>&cmd;</
command> is a library for writing single instance applications.
16021N/AIf you launch a single instance application twice, the second instance will
16021N/Aexit quietly or will send a message to the running instance.
16021N/A<
command>&cmd;</
command> makes it easy to write these kind of applications, by
16021N/Aproviding a base class, taking care of all the IPC machinery needed to send
16021N/Amessages to a running instance, and also handling startup notification.
16021N/A<
command>&cmd;</
command> supports two IPC backends: bacon and dbus. When dbus
16021N/Ais used, the messages are transmitted through a D\-Bus private channel. When
16021N/Abacon is used, <
command>&cmd;</
command> uses PF_UNIX family
17593N/A<
citerefentry><
refentrytitle>socket</
refentrytitle>
17593N/A<
manvolnum>3head</
manvolnum></
citerefentry>
16021N/Ato allow communications between processes on the same machine.
16018N/A<
refsect1 id="pkg-config-1-envr"><
title>&envr-tt;</
title>
16018N/A<
para>See <
citerefentry><
refentrytitle>environ</
refentrytitle><
manvolnum>
16018N/A5</
manvolnum></
citerefentry> for descriptions of environment variables.</
para>
16018N/A<
variablelist termlength="narrow">
16018N/A<
term><
envar>UNIQUE_BACKEND</
envar></
term>
16021N/AThe default backend is dbus. User can override the default backend by setting
16021N/Athe UNIQUE_BACKEND environment variable with the name of the desired backend.
16018N/A<
refsect1 id="libunique-10-3-file"><
title>&file-tt;</
title>
17593N/AThe following files are used by this library:
17593N/A<
variablelist termlength="wholeline">
17593N/A</
para></
listitem></
varlistentry>
17593N/ALocation of developer documentation
17593N/A</
para></
listitem></
varlistentry>
16018N/A<
refsect1 id="libunique-10-3-attr"><
title>&attr-tt;</
title>
17593N/A<
olink targetdocent="REFMAN5" localinfo="attributes-5">
17593N/A<
citerefentry><
refentrytitle>attributes</
refentrytitle>
17593N/A<
manvolnum>5</
manvolnum></
citerefentry></
olink>
17593N/Afor descriptions of the following attributes:
17593N/A<
tgroup cols="2" colsep="1" rowsep="1">
17593N/A<
colspec colname="COLSPEC0" colwidth="1*">
16018N/A<
colspec colname="COLSPEC1" colwidth="1*">
16018N/A<
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry>
16018N/A<
entry align="center" valign="middle">ATTRIBUTE VALUE</
entry></
row>
17593N/A<
entry><
para>Availability</
para></
entry>
17593N/A<
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry>
17593N/A<
entry colname="COLSPEC1"><
para>Volatile</
para></
entry></
row>
16018N/A<
refsect1 id="libunique-10-3-also"><
title>&also-tt;</
title>
16018N/A<!--Reference to another man page--> 16018N/A<!--Reference to a Help manual--> 16021N/A<
citerefentry><
refentrytitle>socket</
refentrytitle><
manvolnum>3head</
manvolnum></
citerefentry>,
16018N/A<
citerefentry><
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>,
16018N/A<
citerefentry><
refentrytitle>environ</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>,
16021N/A<
citerefentry><
refentrytitle>gnome-interfaces</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>
16018N/A<
refsect1 id="libunique-10-3-note"><
title>¬e-tt;</
title>
17593N/AWritten by Halton Huo, Sun Microsystems Inc., 2009.