chiark / gitweb /
nspawn: --private-network should imply CAP_NET_ADMIN
[elogind.git] / man / sd_bus_error.xml
index 38bc30311b1d8c56b7f07c30c5f4ab91f57dc8b0..99a08c7ef7a79342f14739ca76406cca26c6057b 100644 (file)
@@ -54,7 +54,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     <refname>sd_bus_error_is_set</refname>
     <refname>sd_bus_error_has_name</refname>
 
-    <refpurpose>libsystemd-bus error handling</refpurpose>
+    <refpurpose>sd-bus error handling</refpurpose>
   </refnamediv>
 
   <refsynopsisdiv>
@@ -232,7 +232,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     <title>Description</title>
 
     <para><structname>sd_bus_error</structname> structure carries
-    information for a <filename>libsystemd-bus</filename> error.
+    information for a <filename>sd-bus</filename> error.
     Functions described below can be used to set and query fields in
     this structure. Field <structfield>name</structfield> contains a
     short identifier of an error. It should follow the rules for error
@@ -297,9 +297,10 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     <parameter>format</parameter> and the arguments.</para>
 
     <para><function>sd_bus_error_get_errno</function> is will convert
-    <structname>e->name</structname> to an errno-like value
-    using the same rules as <function>sd_bus_error_set</function>.
-    </para>
+    <structname>e->name</structname> to an errno-like value using the
+    same rules as <function>sd_bus_error_set</function>.  If
+    <parameter>e</parameter> is <constant>NULL</constant>, 0 will be
+    returned.</para>
 
     <para><function>sd_bus_error_copy</function> will initialize
     <parameter>dst</parameter> using the values in
@@ -396,7 +397,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     <para><function>sd_bus_set_error()</function> and other functions
     described here are available as a shared library, which can be
     compiled and linked to with the
-    <constant>libsystemd-bus</constant> <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+    <constant>libsystemd</constant> <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
     file.</para>
   </refsect1>