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=7fa1be61ed1854747e986eaf41fd1c6623406639;hp=62b856993d2f14e99ac28050d308ace3a4597cf2;hb=e66cf1a3f94fff48a572f6dbd19b43c9bcf7b8c7;hpb=cd6d5e1c7631d6e74cb04be279dee22e423e08b8 diff --git a/man/sd_bus_open_user.xml b/man/sd_bus_open_user.xml index 62b856993..7fa1be61e 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 @@ -100,7 +100,7 @@ along with systemd; If not, see . 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), it will be used as the address of the user bus. This variable can @@ -108,7 +108,7 @@ along with systemd; If not, see . 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.