X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_bus_open_user.xml;h=6cb4a314a5040b1d1b0480bb4e3d1da45f978469;hp=62b856993d2f14e99ac28050d308ace3a4597cf2;hb=dfc87cbfe5ec03190e5b2235b1ed477db11541ca;hpb=cd6d5e1c7631d6e74cb04be279dee22e423e08b8 diff --git a/man/sd_bus_open_user.xml b/man/sd_bus_open_user.xml index 62b856993..6cb4a314a 100644 --- a/man/sd_bus_open_user.xml +++ b/man/sd_bus_open_user.xml @@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> - + sd_bus_open_user @@ -60,34 +60,34 @@ along with systemd; If not, see . int sd_bus_open_user - sd_bus** bus + sd_bus **bus int sd_bus_open_system - sd_bus** bus + sd_bus **bus int sd_bus_open_system_remote const char *host - sd_bus** bus + sd_bus **bus int sd_bus_open_system_container const char *machine - sd_bus** bus + sd_bus **bus int sd_bus_default_user - sd_bus** bus + sd_bus **bus int sd_bus_default_system - sd_bus** bus + sd_bus **bus @@ -96,19 +96,19 @@ along with systemd; If not, see . Description sd_bus_open_user() creates a new bus - object and opens a connection to the the user bus. + object and opens a connection to the user bus. sd_bus_open_system() does the same, but connects to the system bus. - If $DBUS_SESSION_BUS_ADDRESS environment + If the $DBUS_SESSION_BUS_ADDRESS environment variable is set - (c.f. environ7), + (cf. environ7), it will be used as the address of the user bus. This variable can contain multiple addresses separated by ;. If this variable is not set, a suitable default for the default user D-Bus instance will be used. - If $DBUS_SYSTEM_BUS_ADDRESS environment + If the $DBUS_SYSTEM_BUS_ADDRESS environment variable is set, it will be used as the address of the system bus. This variable uses the same syntax as $DBUS_SESSION_BUS_ADDRESS/. If this variable is @@ -129,8 +129,8 @@ along with systemd; If not, see . for more information about "machines". sd_bus_default_user() returns a bus - object connected to the user bus. This bus object is shared - per-thread. It is created on the first invocation of + object connected to the user bus. Each thread has its own object, but it + may be passed around. It is created on the first invocation of sd_bus_default_user(), and subsequent invocations returns a reference to the same object. @@ -158,7 +158,7 @@ along with systemd; If not, see . sd_bus_unref3. - Functions sd_bus_default_user() and + The functions sd_bus_default_user() and sd_bus_default_system() do not create a new reference. @@ -195,7 +195,7 @@ along with systemd; If not, see . sd_bus_open_user() and other functions described here are available as a shared library, which can be compiled and linked to with the - libsystemd-bus pkg-config1 + libsystemd pkg-config1 file.