chiark / gitweb /
man: clarify sd_bus_e_get_errno with NULL arg
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 10 Jan 2014 14:10:18 +0000 (09:10 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 10 Jan 2014 14:10:27 +0000 (09:10 -0500)
man/sd_bus_error.xml

index 38bc30311b1d8c56b7f07c30c5f4ab91f57dc8b0..2d6be1e5d33e725c56545e5df70fa28e612db803 100644 (file)
@@ -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