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=22a4f616f0b0b3480a668a3b8137426e345ffad9;hb=dfc87cbfe5ec03190e5b2235b1ed477db11541ca;hpb=66f756d437658cc464bfb5647c97efd0cf77f933 diff --git a/man/sd_bus_open_user.xml b/man/sd_bus_open_user.xml index 22a4f616f..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,13 +96,13 @@ 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 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 @@ -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. @@ -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 pkg-config1 + libsystemd pkg-config1 file.