X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_bus_open_user.xml;h=7fa1be61ed1854747e986eaf41fd1c6623406639;hb=9ea28c55a2488e6cd4a44ac5786f12b71ad5bc9f;hp=0effee461d2b2296c84ea5acf2004e7bd437cda5;hpb=6bb648a16ae4a682ad4784412af706d2e6a3e4da;p=elogind.git diff --git a/man/sd_bus_open_user.xml b/man/sd_bus_open_user.xml index 0effee461..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.