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=740977e1cfd5455470a4fd8f515c9ae44cad7c3f;hp=0effee461d2b2296c84ea5acf2004e7bd437cda5;hb=f27e2d8c0c0c18d5a1be62c87ea89fcd4894fffa;hpb=6bb648a16ae4a682ad4784412af706d2e6a3e4da diff --git a/man/sd_bus_open_user.xml b/man/sd_bus_open_user.xml index 0effee461..740977e1c 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.