]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/sd_bus_call.xml
sd-bus: Add sd_bus_send docs + cleanups.
[thirdparty/systemd.git] / man / sd_bus_call.xml
index 689f950585669778afbf9fc220b4cc016dfcb20b..f2d725a29f0bcd75cc554fd9e88ef97deb4b2ef4 100644 (file)
     on the reply object returned by <function>sd_bus_call()</function> or passed to the callback of
     <function>sd_bus_call_async()</function>.</para>
 
-    <para>If <parameter>usec</parameter> is zero, the timeout set using
-    <citerefentry><refentrytitle>sd_bus_set_method_call_timeout</refentrytitle><manvolnum>3</manvolnum></citerefentry>
-    is used. If no method call timeout was set, the timeout is read from the
-    <varname>$SYSTEMD_BUS_TIMEOUT</varname> environment variable. If this environment variable is
-    unset or does not contain a valid timeout, the implementation falls back to a predefined method
-    call timeout of 25 seconds. Note that <varname>$SYSTEMD_BUS_TIMEOUT</varname> is read once and
-    cached so callers should not rely on being able to change the default method call timeout at
-    runtime by changing the value of <varname>$SYSTEMD_BUS_TIMEOUT</varname>. Instead, call
-    <function>sd_bus_set_method_call_timeout()</function> to change the default method call timeout.
+    <para>If <parameter>usec</parameter> is zero, the default D-Bus method call timeout is used. See
+    <citerefentry><refentrytitle>sd_bus_get_method_call_timeout</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
     </para>
 
   </refsect1>
         <varlistentry>
           <term><constant>-ENOTCONN</constant></term>
 
-          <listitem><para>The bus parameter <parameter>bus</parameter> is <constant>NULL</constant>
-          or the bus is not connected.</para></listitem>
+          <listitem><para>The input parameter <parameter>bus</parameter> is
+          <constant>NULL</constant> or the bus is not connected.</para></listitem>
         </varlistentry>
 
         <varlistentry>
           <term><constant>-ECONNRESET</constant></term>
 
-          <listitem><para>The client was disconnected while waiting for the response.
+          <listitem><para>The bus connection was closed while waiting for the response.
           </para></listitem>
         </varlistentry>