]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/sd_bus_new.xml
Merge pull request #16504 from poettering/read-file-ipc
[thirdparty/systemd.git] / man / sd_bus_new.xml
index 8506ee87e42c76efd26d9cd0620fd0dc4fe62ff2..ceca3350fc44ce8f58907095135bdb46112219a1 100644 (file)
     or a related call, and then start the connection with
     <citerefentry><refentrytitle>sd_bus_start</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para>
 
-    <para>In most cases, it is a better idea to invoke
+    <para>In most cases, it is better to use
     <citerefentry><refentrytitle>sd_bus_default_user</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
     <citerefentry><refentrytitle>sd_bus_default_system</refentrytitle><manvolnum>3</manvolnum></citerefentry>
-    or related calls instead of the more low-level
-    <function>sd_bus_new()</function> and
-    <function>sd_bus_start()</function>. The higher-level calls not
-    only allocate a bus object but also start the connection to a
-    well-known bus in a single function invocation.</para>
+    or related calls instead of the more low-level <function>sd_bus_new()</function> and
+    <function>sd_bus_start()</function>. The higher-level functions not only allocate a bus object but also
+    start the connection to a well-known bus in a single function call.</para>
 
     <para><function>sd_bus_ref()</function> increases the reference
     counter of <parameter>bus</parameter> by one.</para>
     block is left:</para>
 
     <programlisting>{
-  __attribute__((cleanup(sd_bus_unrefp)) sd_bus *bus = NULL;
+  __attribute__((cleanup(sd_bus_unrefp))) sd_bus *bus = NULL;
   int r;
   …
   r = sd_bus_default(&amp;bus);